[tutorial v1.1_072] Jinja with a parameter
This commit is contained in:
parent
60e79daeb1
commit
084de755ba
1 changed files with 4 additions and 1 deletions
|
|
@ -10,10 +10,13 @@ manual:
|
|||
description: '{{ identifier }} Proxy'
|
||||
hidden:
|
||||
jinja: |-
|
||||
{% if _.use_for_https %}
|
||||
{% if my_identifier == 'HTTPS' and _.use_for_https %}
|
||||
HTTPS is same has HTTP
|
||||
{% endif %}
|
||||
description: in HTTPS case if "_.use_for_https" is set to "true"
|
||||
params:
|
||||
my_identifier:
|
||||
type: identifier
|
||||
dynamic:
|
||||
- HTTPS
|
||||
- SOCKS
|
||||
|
|
|
|||
Loading…
Reference in a new issue