From eba03d0bb594aa5e22fe4c5078f899ccae2c2018 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Thu, 4 Feb 2016 17:26:53 +0000 Subject: [PATCH] Remove job ID from jobs table MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Don’t think it’s something we need to surface to users. --- app/templates/views/jobs.html | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/app/templates/views/jobs.html b/app/templates/views/jobs.html index db8c6c7d5..ae52bd253 100644 --- a/app/templates/views/jobs.html +++ b/app/templates/views/jobs.html @@ -1,5 +1,5 @@ {% 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 %} GOV.UK Notify | Notifications activity @@ -14,18 +14,15 @@ GOV.UK Notify | Notifications activity caption="Recent activity", caption_visible=False, empty_message='You haven’t sent any notifications yet', - field_headings=['Job', 'File', 'Time', 'Status'] + field_headings=['Job', 'Time', right_aligned_field_heading('Status')] ) %} - {% call field() %} - {{ item.id }} - {% endcall %} {% call field() %} {{ item.original_file_name }} {% endcall %} {% call field() %} {{ item.created_at | format_datetime}} {% endcall %} - {% call field() %} + {% call field(align='right') %} {{ item.status }} {% endcall %} {% endcall %}