76ace23b5e
replace .iteritems() with .items | list in jinja2 Templates
5 lines
315 B
Django/Jinja
5 lines
315 B
Django/Jinja
/srv *(rw,fsid=0,sync,no_subtree_check,all_squash,anongid={{ vdr.gid }},anonuid={{ vdr.uid }})
|
|
{% for name, path in media_dirs.items() | list %}
|
|
{{ path }} *(rw,fsid={{ loop.index }},sync,no_subtree_check,all_squash,anongid={{ vdr.gid }},anonuid={{ vdr.uid }}{{ ',insecure' if nfs.insecure else '' }})
|
|
{% endfor %}
|