mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-14 02:03:22 +00:00
33 lines
675 B
Django/Jinja
33 lines
675 B
Django/Jinja
# {{ weekmail.title }}
|
||
|
||
{%- if weekmail.intro %}
|
||
## {% trans %}Intro{% endtrans %}
|
||
{{ weekmail.intro }}
|
||
{% endif %}
|
||
|
||
## {% trans %}Table of content{% endtrans %}
|
||
{% for a in weekmail.articles.all() %}
|
||
* [{{ a.club }}] {{ a.title }}
|
||
{% endfor -%}
|
||
|
||
{% for a in weekmail.articles.all() %}
|
||
## [{{ a.club }}] {{ a.title }}
|
||
{{ a.content }}
|
||
{% endfor -%}
|
||
|
||
{%- if weekmail.joke %}
|
||
## {% trans %}Joke{% endtrans %}
|
||
{{ weekmail.joke }}
|
||
{% endif -%}
|
||
|
||
{%- if weekmail.protip %}
|
||
## {% trans %}Pro tip{% endtrans %}
|
||
{{ weekmail.protip }}
|
||
{% endif -%}
|
||
|
||
{%- if weekmail.conclusion %}
|
||
## {% trans %}Final word{% endtrans %}
|
||
{{ weekmail.conclusion }}
|
||
{% endif -%}
|
||
|