template pxarexclude - verify if vars are defined before looping
This commit is contained in:
parent
9a8f6dad5d
commit
e38a7f96b2
@ -1,7 +1,11 @@
|
||||
/*
|
||||
{% if backup_path_exclude is defined %}
|
||||
{% for item in backup_path_exclude %}
|
||||
{{ item.value }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if backup_path_include is defined %}
|
||||
{% for item in backup_path_include %}
|
||||
!{{ item.path }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user