template pxarexclude - verify if vars are defined before looping
This commit is contained in:
1 parent
9a8f6dad5d
commit
e38a7f96b2
1 file changed
+4
@@ -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 %}
|
||||
Reference in new issue
Block a user