You've already forked Mailu
mirror of
https://github.com/Mailu/Mailu.git
synced 2025-08-10 22:31:47 +02:00
Use a more consistent towncrier template
This commit is contained in:
@@ -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 %}
|
{% endfor %}
|
||||||
|
|
||||||
{% else %}
|
|
||||||
- {{ sections[section][category]['']|join(', ') }}
|
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if sections[section][category]|length == 0 %}
|
|
||||||
No significant changes.
|
|
||||||
|
|
||||||
{% else %}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% else %}
|
|
||||||
No significant changes.
|
|
||||||
|
|
||||||
|
|
||||||
{% endif %}
|
|
||||||
{% endfor %}
|
|
Reference in New Issue
Block a user