[tutorial v1.1_120] Disabled a variable when an other variable are disabled
This commit is contained in:
parent
066a271cf8
commit
7398840b30
2 changed files with 1 additions and 6 deletions
|
|
@ -1,5 +0,0 @@
|
|||
# Modified variable
|
||||
|
||||
| Variable | Description |
|
||||
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="proxy_dns_socks5" name="proxy_dns_socks5">proxy_dns_socks5</a>**<br/>[`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` <ins>*`disabled`*</ins> | Use proxy DNS when using SOCKS v5.<br/>**Default**: false<br/>**Disabled**: <ins>if "[Configure Proxy Access to the Internet](#proxy_mode)" is not "Manual proxy configuration"<br/>or "[SOCKS host version used by proxy](#manual.socks_proxy.version)" is "v4".</ins> |
|
||||
|
|
@ -7,7 +7,7 @@ proxy_dns_socks5:
|
|||
default: false
|
||||
disabled:
|
||||
jinja: |-
|
||||
{{ _.proxy_mode != "Manual proxy configuration" or _.manual.socks_proxy.version == 'v4' }}
|
||||
{{ _.manual.socks_proxy.version is propertyerror or _.manual.socks_proxy.version == 'v4' }}
|
||||
return_type: boolean
|
||||
description: |-
|
||||
if "_.proxy_mode" is not "Manual proxy configuration"
|
||||
|
|
|
|||
Loading…
Reference in a new issue