Null state text for announcements view

This commit is contained in:
Mouse Reeve 2021-09-12 10:14:56 -07:00
parent 0f31586ab6
commit e24f2ea8c1

View file

@ -14,6 +14,7 @@
{% include 'settings/announcement_form.html' with controls_text="create_announcement" %} {% include 'settings/announcement_form.html' with controls_text="create_announcement" %}
</form> </form>
<div class="block">
<table class="table is-striped"> <table class="table is-striped">
<tr> <tr>
<th> <th>
@ -49,5 +50,10 @@
{% endfor %} {% endfor %}
</table> </table>
{% if not announcements %}
<p><em>{% trans "No announcements found." %}</em></p>
{% endif %}
</div>
{% include 'snippets/pagination.html' with page=announcements path=request.path %} {% include 'snippets/pagination.html' with page=announcements path=request.path %}
{% endblock %} {% endblock %}