7 lines
263 B
Django/Jinja
7 lines
263 B
Django/Jinja
{%- if config.command is iterable and config.command is not string -%}
|
|
{% for command in config.command -%}
|
|
{{ for_user }} {{ config.privileges }}: {{ command }}
|
|
{% endfor %}
|
|
{%- else -%}
|
|
{{ for_user }} {{ config.privileges }}: {{ config.command }}
|
|
{%- endif -%}
|