Add name to bulletin emails
This commit is contained in:
parent
9181788bb6
commit
9289256b5c
@ -21,6 +21,11 @@
|
||||
#}
|
||||
|
||||
{% 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 -->
|
||||
<th class="small-12 large-12 columns first last">
|
||||
<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 %}
|
||||
{% endfor %}
|
||||
{% for group in groups %}{{ group.name }}
|
||||
|
@ -70,6 +70,7 @@ def bulletin_args(member, events, bulbegin, bulend):
|
||||
})
|
||||
|
||||
return {
|
||||
'member': member,
|
||||
'events': events,
|
||||
'groups': groups_data,
|
||||
'more': [], # TODO
|
||||
|
Loading…
Reference in New Issue
Block a user