[tutorial v1.1_073] Jinja could returns a boolean
This commit is contained in:
parent
76e365a332
commit
2607c5a87b
1 changed files with 2 additions and 3 deletions
|
|
@ -10,9 +10,8 @@ manual:
|
||||||
description: '{{ identifier }} Proxy'
|
description: '{{ identifier }} Proxy'
|
||||||
hidden:
|
hidden:
|
||||||
jinja: |-
|
jinja: |-
|
||||||
{% if my_identifier == 'HTTPS' and _.use_for_https %}
|
{{ my_identifier == 'HTTPS' and _.use_for_https }}
|
||||||
HTTPS is same has HTTP
|
return_type: boolean
|
||||||
{% 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:
|
params:
|
||||||
my_identifier:
|
my_identifier:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue