mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
Working functionality for filtering notifications and all tests passing.
This commit is contained in:
@@ -8,7 +8,17 @@
|
||||
{% block maincolumn_content %}
|
||||
|
||||
<h1 class="heading-large">Notifications activity</h1>
|
||||
|
||||
<p>
|
||||
<a href="{{ url_for(".view_notifications", service_id=service_id, job_id=job_id, page=1) }}">All messages</a>
|
||||
</p>
|
||||
<p>
|
||||
<a href="{{ url_for(".view_notifications", service_id=service_id, job_id=job_id, type="sms", page=1) }}">Text messages</a> 
|
||||
<a href="{{ url_for(".view_notifications", service_id=service_id, job_id=job_id, type="email", page=1) }}">Email messages</a>
|
||||
</p>
|
||||
<p>
|
||||
<a href="{{ url_for(".view_notifications", service_id=service_id, job_id=job_id, status=['sent', 'delivered'], page=1) }}">Successful messages</a> 
|
||||
<a href="{{ url_for(".view_notifications", service_id=service_id, job_id=job_id, status=['failed', 'complaint', 'bounce'], page=1) }}">Failed messages</a>
|
||||
</p>
|
||||
{% call(item) list_table(
|
||||
jobs,
|
||||
caption="Recent activity",
|
||||
|
||||
@@ -9,7 +9,17 @@
|
||||
{% block maincolumn_content %}
|
||||
|
||||
<h1 class="heading-large">Notifications activity</h1>
|
||||
|
||||
<p>
|
||||
<a href="{{ url_for(".view_notifications", service_id=service_id, page=1) }}">All messages</a>
|
||||
</p>
|
||||
<p>
|
||||
<a href="{{ url_for(".view_notifications", service_id=service_id, type="sms", page=1) }}">Text messages</a> 
|
||||
<a href="{{ url_for(".view_notifications", service_id=service_id, type="email", page=1) }}">Email messages</a>
|
||||
</p>
|
||||
<p>
|
||||
<a href="{{ url_for(".view_notifications", service_id=service_id, status=['sent', 'delivered'], page=1) }}">Successful messages</a> 
|
||||
<a href="{{ url_for(".view_notifications", service_id=service_id, status=['failed', 'complaint', 'bounce'], page=1) }}">Failed messages</a>
|
||||
</p>
|
||||
{% call(item) list_table(
|
||||
notifications,
|
||||
caption="Recent activity",
|
||||
|
||||
Reference in New Issue
Block a user