[tutorial v1.1_062] Jinja with a description

This commit is contained in:
egarette@silique.fr 2025-11-09 18:57:47 +01:00
parent d640b9adcb
commit a962d86e87

View file

@ -10,9 +10,13 @@ manual:
description: '{{ identifier }} Proxy' description: '{{ identifier }} Proxy'
hidden: hidden:
jinja: |- jinja: |-
{% if _.use_for_https %} {% if my_identifier == 'HTTPS' and _.use_for_https %}
HTTPS is same has HTTP HTTPS is same has HTTP
{% endif %} {% endif %}
description: in HTTPS case if "_.use_for_https" is set to True
params:
my_identifier:
type: identifier
dynamic: dynamic:
- HTTPS - HTTPS
- SOCKS - SOCKS