2017-01-15 21:56:21 +00:00
|
|
|
<style type="text/css" media="all">
|
|
|
|
h1, h2, h3, h4, h5, h6, p {
|
2017-04-27 12:39:25 +00:00
|
|
|
padding: 5px ;
|
2017-01-15 21:56:21 +00:00
|
|
|
margin: 5px;
|
|
|
|
}
|
2017-04-27 12:39:25 +00:00
|
|
|
img {
|
|
|
|
margin: 5px ;
|
|
|
|
width: 95%;
|
|
|
|
}
|
2017-01-15 21:56:21 +00:00
|
|
|
</style>
|
2017-04-27 12:39:25 +00:00
|
|
|
<div style="background: #CBD1DD; padding: 0px 5%;">
|
|
|
|
<div style="background: #F9FAFB;">
|
2018-03-23 21:44:18 +00:00
|
|
|
<h2 style="background: #000; color: #f9fafb">{{ weekmail.title }}</h2>
|
2017-04-27 12:39:25 +00:00
|
|
|
<img src="{{ weekmail.get_banner() }}"
|
|
|
|
id="OWATemporaryImageDivContainerBannerForOutlook"
|
|
|
|
>
|
2017-01-15 21:56:21 +00:00
|
|
|
{% if weekmail.intro %}
|
2018-03-23 21:44:18 +00:00
|
|
|
<h3 style="background: #000; color: #f9fafb">{% trans %}Intro{% endtrans %}</h3>
|
2017-01-15 21:56:21 +00:00
|
|
|
{{ weekmail.intro|markdown }}
|
|
|
|
{% endif %}
|
|
|
|
|
2018-03-23 21:44:18 +00:00
|
|
|
<h3 style="background: #000; color: #f9fafb">{% trans %}Table of content{% endtrans %}</h3>
|
2017-01-15 21:56:21 +00:00
|
|
|
<ul>
|
|
|
|
{% for a in weekmail.articles.all() %}
|
|
|
|
<li>[{{ a.club }}] {{ a.title }}</li>
|
|
|
|
{%- endfor %}
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
{%- for a in weekmail.articles.all() %}
|
2018-03-23 21:44:18 +00:00
|
|
|
<h3 style="background: #000; color: #f9fafb">[{{ a.club }}] {{ a.title }}</h3>
|
2017-01-15 21:56:21 +00:00
|
|
|
{{ a.content|markdown }}
|
|
|
|
{%- endfor -%}
|
|
|
|
|
|
|
|
{%- if weekmail.joke %}
|
2018-03-23 21:44:18 +00:00
|
|
|
<h3 style="background: #000; color: #f9fafb">{% trans %}Joke{% endtrans %}</h3>
|
2017-01-15 21:56:21 +00:00
|
|
|
{{ weekmail.joke|markdown }}
|
|
|
|
{% endif -%}
|
|
|
|
|
|
|
|
{%- if weekmail.protip %}
|
2018-03-23 21:44:18 +00:00
|
|
|
<h3 style="background: #000; color: #f9fafb">{% trans %}Pro tip{% endtrans %}</h3>
|
2017-01-15 21:56:21 +00:00
|
|
|
{{ weekmail.protip|markdown }}
|
|
|
|
{% endif -%}
|
|
|
|
|
|
|
|
{%- if weekmail.conclusion %}
|
2018-03-23 21:44:18 +00:00
|
|
|
<h3 style="background: #000; color: #f9fafb">{% trans %}Final word{% endtrans %}</h3>
|
2017-01-15 21:56:21 +00:00
|
|
|
{{ weekmail.conclusion|markdown }}
|
|
|
|
{% endif -%}
|
2018-03-23 21:44:18 +00:00
|
|
|
<img src="{{ weekmail.get_footer() }}"
|
2017-01-15 21:56:21 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
2017-01-10 17:30:27 +00:00
|
|
|
|