[tutorial 042] Jinja with a parameter

This commit is contained in:
egarette@silique.fr 2025-11-04 19:22:22 +01:00
parent 9fd233b885
commit 011e278245

View file

@ -10,9 +10,12 @@ manual:
description: '{{ identifier }} Proxy'
hidden:
jinja: |-
{% if manual.use_for_https %}
{% if my_identifier == 'HTTPS' and manual.use_for_https %}
HTTPS is same has HTTP
{% endif %}
params:
my_identifier:
type: identifier
dynamic:
- HTTPS
- SOCKS