[tutorial v1.1_072] Jinja with a parameter
This commit is contained in:
parent
d7fd4fc49d
commit
f1cf933f56
1 changed files with 4 additions and 1 deletions
|
|
@ -10,10 +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"
|
description: in HTTPS case if "_.use_for_https" is set to "true"
|
||||||
|
params:
|
||||||
|
my_identifier:
|
||||||
|
type: identifier
|
||||||
dynamic:
|
dynamic:
|
||||||
- HTTPS
|
- HTTPS
|
||||||
- SOCKS
|
- SOCKS
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue