mirror of
https://github.com/Mailu/Mailu.git
synced 2025-01-08 00:39:34 +02:00
Use a more consistent towncrier template
This commit is contained in:
parent
f3f0c3190b
commit
7f20499768
@ -6,27 +6,10 @@
|
|||||||
|
|
||||||
{% if sections[section] %}
|
{% if sections[section] %}
|
||||||
{% for category, val in definitions.items() if category in sections[section]%}
|
{% for category, val in definitions.items() if category in sections[section]%}
|
||||||
{{ definitions[category]['name'] }}
|
|
||||||
{{ underline * definitions[category]['name']|length }}
|
|
||||||
{% if definitions[category]['showcontent'] %}
|
|
||||||
{% for text, values in sections[section][category].items() %}
|
{% for text, values in sections[section][category].items() %}
|
||||||
- {{ text }} ({{ values|join(', ') }})
|
- {{ definitions[category]['name'] }}: {{ text }} ({{ values|join(', ') }})
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{% else %}
|
|
||||||
- {{ sections[section][category]['']|join(', ') }}
|
|
||||||
|
|
||||||
{% endif %}
|
|
||||||
{% if sections[section][category]|length == 0 %}
|
|
||||||
No significant changes.
|
|
||||||
|
|
||||||
{% else %}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% else %}
|
|
||||||
No significant changes.
|
|
||||||
|
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
Loading…
Reference in New Issue
Block a user