mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 02:42:26 -05:00
- adds a table of recent activity to the job page, which is shared by the dashboard page - uses the same filename and message template as the first job shown on the dashboard - sets the time of file uploads/message delivery/message sending to always match ‘just now’
34 lines
759 B
HTML
34 lines
759 B
HTML
{% extends "withnav_template.html" %}
|
|
{% from "components/table.html" import table, field %}
|
|
|
|
{% block page_title %}
|
|
GOV.UK Notify | Notifications activity
|
|
{% endblock %}
|
|
|
|
{% block maincolumn_content %}
|
|
|
|
<h1 class="heading-xlarge">Notifications activity</h1>
|
|
|
|
{% call(item) table(
|
|
jobs,
|
|
caption="Recent activity",
|
|
caption_visible=False,
|
|
field_headings=['Job', 'File', 'Time', 'Status']
|
|
) %}
|
|
{% call field() %}
|
|
<a href="{{ url_for('.showjob') }}">{{ item.file }}</a>
|
|
{% endcall %}
|
|
{% call field() %}
|
|
<a href="{{ url_for('.showjob') }}">{{ item.job }}</a>
|
|
{% endcall %}
|
|
{% call field() %}
|
|
{{ item.time }}
|
|
{% endcall %}
|
|
{% call field() %}
|
|
{{ item.status }}
|
|
{% endcall %}
|
|
{% endcall %}
|
|
|
|
|
|
{% endblock %}
|