Self hosted FLOSS fitness/workout, nutrition and weight tracker
Use a list-group to render email list
Roland Geider6cb2289bf45c
diff --git a/wger/email/templates/email/overview.html b/wger/email/templates/email/overview.htmlindex b88484035..4a2cabcbb 100644--- a/wger/email/templates/email/overview.html+++ b/wger/email/templates/email/overview.html@@ -15,22 +15,23 @@{% block content %}+<ul class="list-group">+ {% for email in email_list %}+ <li class="list-group-item ">+ <h4 class="list-group-item-heading">+ {{ email.subject }}+ <small>{{ email.date }}</small>+ </h4>++ <p class="list-group-item-text" style="white-space: pre-line;">{{ email.body }}</p>+ </li>+ {% empty %}+ <li class="list-group-item">+ {% trans "Nothing found" %}+ </li>+ {% endfor %}+</ul>- <table class="table">- <tr>- <th>{% trans "Date" %}</th>- <th>{% trans "Subject" context 'As in "email subject"' %}</th>- </tr>- {% for email in email_list %}- <tr>- <td>{{ email.date }}</td>- <td>{{ email.subject }}</td>- </tr>- <tr>- <td colspan="2" style="white-space: pre-line;">{{ email.body }}</td>- </tr>- {% endfor %}- </table>{% endblock %}