[tutorial 042] Jinja with a parameter
This commit is contained in:
parent
9fd233b885
commit
011e278245
1 changed files with 4 additions and 1 deletions
|
|
@ -10,9 +10,12 @@ manual:
|
||||||
description: '{{ identifier }} Proxy'
|
description: '{{ identifier }} Proxy'
|
||||||
hidden:
|
hidden:
|
||||||
jinja: |-
|
jinja: |-
|
||||||
{% if manual.use_for_https %}
|
{% if my_identifier == 'HTTPS' and manual.use_for_https %}
|
||||||
HTTPS is same has HTTP
|
HTTPS is same has HTTP
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
params:
|
||||||
|
my_identifier:
|
||||||
|
type: identifier
|
||||||
dynamic:
|
dynamic:
|
||||||
- HTTPS
|
- HTTPS
|
||||||
- SOCKS
|
- SOCKS
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue