Add a break between the end of one message and beginning of next.
authorJonathan S. Katz <jonathan.katz@excoventures.com>
Thu, 19 Apr 2018 02:47:20 +0000 (22:47 -0400)
committerJonathan S. Katz <jonathan.katz@excoventures.com>
Thu, 19 Apr 2018 02:47:20 +0000 (22:47 -0400)
django/archives/mailarchives/templates/message_flat.html

index 0d25201f30d8f42bcd187d99225cb5675d069451..b51c16b32958dacadfecac1e3b412425e7e02586 100644 (file)
@@ -19,5 +19,8 @@ window.onload = load;
 {%for m in allmsg %}
 <a name="{{m.messageid|urlencode}}"></a>
 {% include '_message.html' with msg=m show_all=True %}
+{% if not forloop.last %}
+  <hr style="margin-top: 0.5rem; margin-bottom: 0.5rem;" />
+{% endif %}
 {%endfor%}
 {%endblock%}