Add unsubscribe, etc. links to bulletin email
This commit is contained in:
parent
9289256b5c
commit
3623a5ad58
@ -1077,6 +1077,7 @@
|
|||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
.heading {
|
.heading {
|
||||||
background: rgb(1, 46, 111);
|
background: rgb(1, 46, 111);
|
||||||
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.heading h2 {
|
.heading h2 {
|
||||||
@ -1089,6 +1090,8 @@
|
|||||||
margin: 16px 0 0 0;
|
margin: 16px 0 0 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{% block css %}{% endblock %}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style type="text/css" media="only screen and (max-width: 596px)">
|
<style type="text/css" media="only screen and (max-width: 596px)">
|
||||||
@ -1419,7 +1422,11 @@
|
|||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<th>
|
<th>
|
||||||
<p class="text-center footercopy">© Copyright {{ import('datetime').datetime.now().strftime('%Y') }} MUMUS Inc. All Rights Reserved.<br>Design by <a href="https://www.sendwithus.com/resources/templates/meow">SendWithUs</a>.</p>
|
<p class="text-center footercopy">
|
||||||
|
{% block footer %}{% endblock %}
|
||||||
|
© Copyright {{ import('datetime').datetime.now().strftime('%Y') }} MUMUS Inc. All Rights Reserved.<br>
|
||||||
|
Design by <a href="https://www.sendwithus.com/resources/templates/meow">SendWithUs</a>.
|
||||||
|
</p>
|
||||||
</th>
|
</th>
|
||||||
<th class="expander"></th>
|
<th class="expander"></th>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -20,6 +20,21 @@
|
|||||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
#}
|
#}
|
||||||
|
|
||||||
|
{% block css %}
|
||||||
|
.group-options {
|
||||||
|
width: 100px;
|
||||||
|
position: absolute;
|
||||||
|
right: 8px;
|
||||||
|
top: 8px;
|
||||||
|
color: #ccc;
|
||||||
|
text-align: right;
|
||||||
|
font-size: 8pt;
|
||||||
|
}
|
||||||
|
.group-options a {
|
||||||
|
color: inherit !important;
|
||||||
|
}
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<tr>
|
<tr>
|
||||||
<th class="small-12 large-12 columns first last">
|
<th class="small-12 large-12 columns first last">
|
||||||
@ -45,6 +60,11 @@
|
|||||||
<tr class="heading"> <!-- Section heading -->
|
<tr class="heading"> <!-- Section heading -->
|
||||||
<th class="small-12 large-12 columns first last">
|
<th class="small-12 large-12 columns first last">
|
||||||
<h2 class="text-center">{{ group.name }}</h2>
|
<h2 class="text-center">{{ group.name }}</h2>
|
||||||
|
{% if group.group.subscribable %}
|
||||||
|
<div class="group-options"><a href="https://{{ settings.ALLOWED_HOSTS[0] }}{{ url('membership') }}">Unsubscribe</a></div>
|
||||||
|
{% elif group.name != 'All Years' %}
|
||||||
|
<div class="group-options"><a href="https://{{ settings.ALLOWED_HOSTS[0] }}{{ url('membership') }}">Change year level</a></div>
|
||||||
|
{% endif %}
|
||||||
</th>
|
</th>
|
||||||
<th class="expander"></th>
|
<th class="expander"></th>
|
||||||
</tr>
|
</tr>
|
||||||
@ -82,3 +102,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
|
|
||||||
|
{% block footer %}
|
||||||
|
MUMUS Mail is personalised for you. <a href="https://{{ settings.ALLOWED_HOSTS[0] }}{{ url('membership') }}">Unsubscribe or manage your email subscription.</a><br>
|
||||||
|
{% endblock %}
|
||||||
|
@ -22,4 +22,5 @@ Hi {{ member.first_name if member else '[Name]' }}! Here's your latest news from
|
|||||||
|
|
||||||
{% if item.link %}Read more <{{ item.link }}>
|
{% if item.link %}Read more <{{ item.link }}>
|
||||||
|
|
||||||
{% endif %}{% endfor %}{% endif %}© Copyright {{ import('datetime').datetime.now().strftime('%Y') }} MUMUS Inc. All Rights Reserved.
|
{% endif %}{% endfor %}{% endif %}MUMUS Mail is personalised for you. Unsubscribe or manage your email subscription at https://{{ settings.ALLOWED_HOSTS[0] }}{{ url('membership') }}
|
||||||
|
© Copyright {{ import('datetime').datetime.now().strftime('%Y') }} MUMUS Inc. All Rights Reserved.
|
||||||
|
Loading…
Reference in New Issue
Block a user