[tutorial v1.1_070] A conditional hidden family with Jinja
This commit is contained in:
parent
207ac870e3
commit
450da5d033
1 changed files with 4 additions and 1 deletions
|
|
@ -9,7 +9,10 @@ manual:
|
||||||
'{{ identifier }}_proxy':
|
'{{ identifier }}_proxy':
|
||||||
description: '{{ identifier }} Proxy'
|
description: '{{ identifier }} Proxy'
|
||||||
hidden:
|
hidden:
|
||||||
variable: _.use_for_https
|
jinja: |-
|
||||||
|
{% if _.use_for_https %}
|
||||||
|
HTTPS is same has HTTP
|
||||||
|
{% endif %}
|
||||||
dynamic:
|
dynamic:
|
||||||
- HTTPS
|
- HTTPS
|
||||||
- SOCKS
|
- SOCKS
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue