Use in-table style for null states

This commit is contained in:
Mouse Reeve
2021-09-28 13:18:27 -07:00
parent c5746bbce0
commit 67a4b2713a
5 changed files with 13 additions and 16 deletions

View File

@ -48,11 +48,10 @@
<td>{% if announcement.active %}{% trans "active" %}{% else %}{% trans "inactive" %}{% endif %}</td>
</tr>
{% endfor %}
{% if not announcements %}
<tr><td colspan="5"><em>{% trans "No announcements found" %}</em></td></tr>
{% endif %}
</table>
{% if not announcements %}
<p><em>{% trans "No announcements found." %}</em></p>
{% endif %}
</div>
{% include 'snippets/pagination.html' with page=announcements path=request.path %}