Add name to bulletin emails
This commit is contained in:
parent
9181788bb6
commit
9289256b5c
@ -21,6 +21,11 @@
|
|||||||
#}
|
#}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
<tr>
|
||||||
|
<th class="small-12 large-12 columns first last">
|
||||||
|
Hi {{ member.first_name if member else '[Name]' }}! Here's your latest news from MUMUS:
|
||||||
|
</th>
|
||||||
|
</tr>
|
||||||
<tr><!-- Masthead -->
|
<tr><!-- Masthead -->
|
||||||
<th class="small-12 large-12 columns first last">
|
<th class="small-12 large-12 columns first last">
|
||||||
<table>
|
<table>
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
Hi {{ member.first_name if member else '[Name]' }}! Here's your latest news from MUMUS:
|
||||||
|
|
||||||
{% for event in events %}{{ event.date.strftime('%a %d %b') }}: {{ event.title }}{% if event.link %} <{{ event.link }}>{% endif %}
|
{% for event in events %}{{ event.date.strftime('%a %d %b') }}: {{ event.title }}{% if event.link %} <{{ event.link }}>{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% for group in groups %}{{ group.name }}
|
{% for group in groups %}{{ group.name }}
|
||||||
|
@ -70,6 +70,7 @@ def bulletin_args(member, events, bulbegin, bulend):
|
|||||||
})
|
})
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
'member': member,
|
||||||
'events': events,
|
'events': events,
|
||||||
'groups': groups_data,
|
'groups': groups_data,
|
||||||
'more': [], # TODO
|
'more': [], # TODO
|
||||||
|
Loading…
Reference in New Issue
Block a user