{% extends 'sspromotions/email/base.html' %}
{#
Society Self-Service
Copyright © 2018-2019 Yingtong Li (RunasSudo)
Design by SendWithUs (Apache 2.0 licence)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
#}
{% block content %}
{% for event in events %}
{{ event.date.strftime('%a %d %b') }} |
{{ event.title }}{% if event.link %} · Read more ›{% endif %} |
{% endfor %}
|
{% for group in groups if group.bulletinitem_set.filter(date__gte=bulbegin).filter(date__lt=bulend).count() > 0 %}
{% if not loop.first %}
{{ gap }}
{% endif %}
{{ gap }}
{% for item in group.bulletinitem_set.filter(date__gte=bulbegin).filter(date__lt=bulend).all() %}
{% if item.image %}
|
{% endif %}
{{ item.title }}
{{ item.content | markdown }}
{% if item.link %}Read more › {% endif %}
|
|
{% if not loop.last %}
{% endif %}
{% endfor %}
{% endfor %}
{% if more %}
{{ gap }}
{% for item in more %}
|
{% endfor %}
{% endif %}
{% endblock content %}