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