mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-01 04:09:46 -04:00
From the: - dashboard - activity page This info will be confusing for users at the hack day, because it will say they’ve already sent messages when they first sign up. This involved changing the table macro to have a nice ‘no rows’ message.
35 lines
902 B
HTML
35 lines
902 B
HTML
{% extends "withnav_template.html" %}
|
||
{% from "components/table.html" import list_table, field %}
|
||
|
||
{% block page_title %}
|
||
GOV.UK Notify | Notifications activity
|
||
{% endblock %}
|
||
|
||
{% block maincolumn_content %}
|
||
|
||
<h1 class="heading-xlarge">Notifications activity</h1>
|
||
|
||
{% call(item) list_table(
|
||
jobs,
|
||
caption="Recent activity",
|
||
caption_visible=False,
|
||
empty_message='You haven’t sent any notifications yet',
|
||
field_headings=['Job', 'File', 'Time', 'Status']
|
||
) %}
|
||
{% call field() %}
|
||
<a href="{{ url_for('.view_job', service_id=service_id, job_id=456) }}">{{ item.file }}</a>
|
||
{% endcall %}
|
||
{% call field() %}
|
||
<a href="{{ url_for('.view_job', service_id=service_id, job_id=456) }}">{{ item.job }}</a>
|
||
{% endcall %}
|
||
{% call field() %}
|
||
{{ item.time }}
|
||
{% endcall %}
|
||
{% call field() %}
|
||
{{ item.status }}
|
||
{% endcall %}
|
||
{% endcall %}
|
||
|
||
|
||
{% endblock %}
|