Remove job ID from jobs table

Don’t think it’s something we need to surface to users.
This commit is contained in:
Chris Hill-Scott
2016-02-04 17:26:53 +00:00
parent 7e670d9662
commit eba03d0bb5

View File

@@ -1,5 +1,5 @@
{% extends "withnav_template.html" %} {% extends "withnav_template.html" %}
{% from "components/table.html" import list_table, field %} {% from "components/table.html" import list_table, field, right_aligned_field_heading %}
{% block page_title %} {% block page_title %}
GOV.UK Notify | Notifications activity GOV.UK Notify | Notifications activity
@@ -14,18 +14,15 @@ GOV.UK Notify | Notifications activity
caption="Recent activity", caption="Recent activity",
caption_visible=False, caption_visible=False,
empty_message='You havent sent any notifications yet', empty_message='You havent sent any notifications yet',
field_headings=['Job', 'File', 'Time', 'Status'] field_headings=['Job', 'Time', right_aligned_field_heading('Status')]
) %} ) %}
{% call field() %}
<a href="{{ url_for('.view_job', service_id=service_id, job_id=item.id) }}">{{ item.id }}</a>
{% endcall %}
{% call field() %} {% call field() %}
<a href="{{ url_for('.view_job', service_id=service_id, job_id=item.id) }}">{{ item.original_file_name }}</a> <a href="{{ url_for('.view_job', service_id=service_id, job_id=item.id) }}">{{ item.original_file_name }}</a>
{% endcall %} {% endcall %}
{% call field() %} {% call field() %}
{{ item.created_at | format_datetime}} {{ item.created_at | format_datetime}}
{% endcall %} {% endcall %}
{% call field() %} {% call field(align='right') %}
{{ item.status }} {{ item.status }}
{% endcall %} {% endcall %}
{% endcall %} {% endcall %}