email.txt 2.38 KB
Newer Older
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
1
2
3
4
5
6
7
8
{% load i18n baseurl %}{% load static from staticfiles %}THALIA {% trans "newsletter"|upper %}

{% trans "dear members"|capfirst %},

{{ newsletter.description|striptags }}


{% trans "agenda"|upper %}:
9
{% for item in agenda_events %} {{ item.title }} - {{ item.start|date:"d F" }}
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
10
11
{% endfor %}

12
{% for item in newsletter.newslettercontent_set.all %}{{ item.title|upper }}:
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
13
 {{ item.description|striptags }}
14
 {% if item.newsletterevent %}{% if item.newsletterevent.show_costs_warning %}
15
 {% trans "Attention" %}: {% trans "Registration deadline = unregistration deadline" %}! {% trans "Thalia will recover the costs on you if you do not unregister on time" %}. {% if item.newsletterevent.penalty_costs and item.newsletterevent.penalty_costs > 0 %}{% trans "These costs are" %}: €{{ item.newsletterevent.penalty_costs }}.{% endif %}
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
16
{% endif %}
17
18
19
20
 {% trans "What"|upper %}: {{ item.newsletterevent.what }}
 {% trans "Where"|upper %}: {{ item.newsletterevent.where }}
 {% trans "When"|upper %}: {% if item.newsletterevent.start_datetime == item.newsletterevent.end_datetime %}{{ item.newsletterevent.start_datetime }}{% elif item.newsletterevent.start_datetime|date:'d-M-Y' == item.newsletterevent.end_datetime|date:'d-M-Y' %}{{ item.newsletterevent.start_datetime }} - {{ item.newsletterevent.end_datetime|date:'H:i' }}{% else %}{{ item.newsletterevent.start_datetime }} - {{ item.newsletterevent.end_datetime }}{% endif %}
 {% if item.newsletterevent.price is not None %}{% trans "Price"|upper %}: {% if item.newsletterevent.price == 0 %}{% trans "Free" %}{% else %}€{{ item.newsletterevent.price }}{% endif %}{% endif %}
21
 {% endif %}
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
22
{% endfor %}
23

24
{% trans "room"|capfirst %}: M1.0.08
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
25
26
27
{% trans "website"|capfirst %}: www.thalia.nu
{% trans "email"|capfirst %}: info@thalia.nu

28
29
{% if main_partner and main_partner.is_active %}{% trans "our main partner"|capfirst %}: {{ main_partner.name }} - {{ main_partner.link }}{% endif %}
{% if local_partner and local_partner.is_active %}{% trans "our local partner"|capfirst %}: {{ local_partner.name }} - {{ local_partner.link }}{% endif %}
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
30

31
32
Is this email not in your preferred language? Then edit your profile on the website ({% baseurl %}{% url 'members:edit-profile' %}) and adjust the preferred language setting. The next newsletter you'll receive will be in the language you selected.

33
{% trans "view this email in your browser"|capfirst %}: {% baseurl %}{{ newsletter.get_absolute_url }}