diff --git a/sspromotions/jinja2/sspromotions/email/base.html b/sspromotions/jinja2/sspromotions/email/base.html index 3cee8c8..8448cbe 100644 --- a/sspromotions/jinja2/sspromotions/email/base.html +++ b/sspromotions/jinja2/sspromotions/email/base.html @@ -19,7 +19,7 @@ #} {% set gap %} - + -
@@ -28,7 +28,7 @@
+ {% endset %} @@ -1081,7 +1081,7 @@ .heading h2 { color: #ffffff; - margin: 16px 0 0 0; + margin: 16px 0 0 0 !important; } .heading p { @@ -1394,11 +1394,11 @@
- - + {% block content %}{% endblock content %} +
+ + -
-
+
@@ -1408,9 +1408,9 @@
-
- {% block content %}{% endblock content %} +
+ {% for group in groups %} {% if not loop.first %} {{ gap }} {% endif %} -
diff --git a/sspromotions/jinja2/sspromotions/email/bulletin.html b/sspromotions/jinja2/sspromotions/email/bulletin.html index 8ea7302..20da7f9 100644 --- a/sspromotions/jinja2/sspromotions/email/bulletin.html +++ b/sspromotions/jinja2/sspromotions/email/bulletin.html @@ -21,7 +21,7 @@ #} {% block content %} - + -
{% for event in events %} @@ -32,80 +32,48 @@ {% endfor %}
- {% for group in groups if group.bulletinitem_set.filter(date__gte=bulbegin).filter(date__lt=bulend).count() > 0 %} +
+ -
- - - - - -
-

{{ group.name }}

-
+

{{ group.name }}

+ + {{ gap }} - {% for item in group.bulletinitem_set.filter(date__gte=bulbegin).filter(date__lt=bulend).all() %} - + {% for item in group.bulletin_items %} + {% if item.image %} {% endif %} -
- - - - -
- {% if item.link %}{% endif %}{{ item.title }}{% if item.link %}{% endif %} -
+ {% if item.link %}{% endif %}{{ item.title }}{% if item.link %}{% endif %}
- - - - -
-
{{ item.title }}
-

{{ item.content | markdown }}

- {% if item.link %}

Read more ›

{% endif %} -
+
{{ item.title }}
+

{{ item.content | markdown }}

+ {% if item.link %}

Read more ›

{% endif %}
+ {% if not loop.last %}
{% endif %} {% endfor %} {% endfor %} {% if more %} - - -
- - - - -
-

More from MUMUS:

-
-
+ +

More from MUMUS:

+ {{ gap }} - + {% for item in more %} {% endfor %} -
- - - - -
- {% if item.image %}{% if item.link %}{% endif %}{{ item.title }}{% if item.link %}{% endif %}
{% endif %} -
{{ item.title }}
-

{{ item.content }}

- {% if item.link %}

Read more ›

{% endif %} -
+ {% if item.image %}{% if item.link %}{% endif %}{{ item.title }}{% if item.link %}{% endif %}
{% endif %} +
{{ item.title }}
+

{{ item.content }}

+ {% if item.link %}

Read more ›

{% endif %}
+ {% endif %} {% endblock content %}