Skip to content

Commit

Permalink
Add unsubscribe instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Iris Kause committed Jan 8, 2024
1 parent a49b3ae commit b7da9e6
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
4 changes: 2 additions & 2 deletions bulletin.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ def nl2br(s):
template_short = env.get_template('cells_short.html')
variables = {
"title": "Fyysikkokillan viikkotiedote",
"header": week+"/2022\n"+"Kilta tiedottaa\nGuild News",
"header": week+"/2023\n"+"Kilta tiedottaa\nGuild News",
"category_events": pairs,
"category_events_en": pairs_en,
"communications_officer": "Jaakko Johansson",
"communications_officer": "Iris Kause",
"telegram_nick": "viestintavastaava",
"email": "viestintavastaava@fyysikkokilta.fi",
"week": week
Expand Down
9 changes: 5 additions & 4 deletions templates/bulletin.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
{% block toc %}{% endblock %}
{% block content %}{% endblock %}
<td style="padding: 10px 0px 25px 0px; font-family: Source Sans Pro, Open Sans, Calibri; font-size: 16px; text-align: center;">
<a href="https://www.fyysikkokilta.fi/wp-content/uploads/weeklymeme/{{ week }}.jpg" style="color: #ff8a04; text-decoration:underline; font-weight:bold;">Meemi tähän asti lukeneille</a><br><br>
<a href="https://www.fyysikkokilta.fi/wp-content/uploads/weeklymeme/{{ week }}.jpg" style="color: #ff8a04; text-decoration:underline; font-weight:bold;">Viikon töherrys</a><br><br>
<img alt="Salli kuvat nähdäksesi tämä" width="auto" height="auto" src="https://www.fyysikkokilta.fi/wp-content/uploads/weeklymeme/{{ week }}.jpg" style="border-width: 1px; border-color: #201E1E; border-style: solid; max-width:400px;">
</td>
<tr id="in_english">
Expand All @@ -40,15 +40,16 @@
{% block toc_en %}{% endblock %}
{% block content_en %}{% endblock %}
<td style="padding: 10px 0px 25px 0px; font-family: Source Sans Pro, Open Sans, Calibri; font-size: 16px; text-align: center;">
<a href="https://www.fyysikkokilta.fi/wp-content/uploads/weeklymeme/{{ week }}.jpg" style="color: #ff8a04; text-decoration:underline; font-weight:bold;">Bonus meme for the people who read this far</a><br><br>
<a href="https://www.fyysikkokilta.fi/wp-content/uploads/weeklymeme/{{ week }}.jpg" style="color: #ff8a04; text-decoration:underline; font-weight:bold;">Doodle of the week</a><br><br>
<img alt="Please enable images" width="auto" height="auto" src="https://www.fyysikkokilta.fi/wp-content/uploads/weeklymeme/{{ week }}.jpg" style="border-width: 1px; border-color: #201E1E; border-style: solid; max-width:400px;">
<br>
<br>
<span style="font-size: 13px; color: #737373;">
Viestintävastaava / Communications Officer <br>
{{ communications_officer }} <br>
<a href="https://t.me/{{ telegram_nick }}" style="color: #ff8a04; text-decoration:none;">@{{ telegram_nick }}</a> <br>
<a href="mailto:{{ email }}" style="color: #ff8a04; text-decoration:none;">{{ email }}</a>
<a href="https://t.me/{{ telegram_nick }}" style="color: #ff8a04; text-decoration:none;">@{{ telegram_nick }}</a><br>
<a href="mailto:{{ email }}" style="color: #ff8a04; text-decoration:none;">{{ email }}</a><br><br>
Would you like these weekly mails only in English? Send an email to <a href="mailto:english+subscribe@fyysikkokilta.fi" style="color: #ff8a04; text-decoration:none;">english+subscribe@fyysikkokilta.fi</a> (and reply to the confirmation email you get afterwards) to get them! And to unsubscribe from this mailing list, send an email to <a href="mailto:tieto+unsubscribe@fyysikkokilta.fi" style="color: #ff8a04; text-decoration:none;">tieto+unsubscribe@fyysikkokilta.fi</a>.
</span>
</td>
</table>
Expand Down
15 changes: 8 additions & 7 deletions templates/bulletin_en.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,18 @@
{% block toc_en %}{% endblock %}
{% block content_en %}{% endblock %}
<td style="padding: 10px 0px 25px 0px; font-family: Source Sans Pro, Open Sans, Calibri; font-size: 16px; text-align: center;">
<a href="https://www.fyysikkokilta.fi/wp-content/uploads/weeklymeme/{{ week }}.jpg" style="color: #ff8a04; text-decoration:underline; font-weight:bold;">Meme of the week</a><br><br>
<a href="https://www.fyysikkokilta.fi/wp-content/uploads/weeklymeme/{{ week }}.jpg" style="color: #ff8a04; text-decoration:underline; font-weight:bold;">Doodle of the week</a><br><br>
<img alt="Salli kuvat nähdäksesi tämä / Please enable images" width="auto" height="auto" src="https://www.fyysikkokilta.fi/wp-content/uploads/weeklymeme/{{ week }}.jpg"
style="border-width: 1px; border-color: #201E1E; border-style: solid; max-width:400px;">
<br>
<br>
<span style="font-size: 13px; color: #737373;">
Viestintävastaava / Communications Officer <br>
{{ communications_officer }} <br>
<a href="https://t.me/{{ telegram_nick }}" style="color: #ff8a04; text-decoration:none;">@{{ telegram_nick }}</a> <br>
<a href="mailto:{{ email }}" style="color: #ff8a04; text-decoration:none;">{{ email }}</a>
</span>
<span style="font-size: 13px; color: #737373;">
Viestintävastaava / Communications Officer <br>
{{ communications_officer }} <br>
<a href="https://t.me/{{ telegram_nick }}" style="color: #ff8a04; text-decoration:none;">@{{ telegram_nick }}</a> <br>
<a href="mailto:{{ email }}" style="color: #ff8a04; text-decoration:none;">{{ email }}</a><br><br>
To unsubscribe from this mailing list, send an email to <a href="mailto:english+unsubscribe@fyysikkokilta.fi" style="color: #ff8a04; text-decoration:none;">english+unsubscribe@fyysikkokilta.fi</a>
</span>
</td>
</table>

Expand Down

0 comments on commit b7da9e6

Please sign in to comment.