From 4e8aa9980324ff5b5dbd1837fcca1b70ea928e11 Mon Sep 17 00:00:00 2001 From: Nathan Booth Date: Thu, 29 Dec 2011 20:04:53 +0000 Subject: [PATCH] Updates to status page to add edit incident column when logged in as admin Signed-off-by: Nathan Booth --- public/styles/normal.css | 2 +- source/webui/templates/status.tpl | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/public/styles/normal.css b/public/styles/normal.css index 1cf8ea1..c96b9d5 100644 --- a/public/styles/normal.css +++ b/public/styles/normal.css @@ -117,7 +117,7 @@ table{ table th, table td { text-align: center; - line-height: 10px; + line-height: 20px; vertical-align: middle; } diff --git a/source/webui/templates/status.tpl b/source/webui/templates/status.tpl index 2c7e1f3..6ad3f9f 100644 --- a/source/webui/templates/status.tpl +++ b/source/webui/templates/status.tpl @@ -54,11 +54,11 @@ {$incidentsDuring=$site->openIncidentsDuring($start, $end)} {$incidentCount=count($incidentsDuring)}
-
-

{if $day == 0}Today {/if}{$start|date_format:"d M Y"}

+
+

{$start|date_format:"d M Y"}

{$incidentCount} {StatusBoard_Formatting::pluralise($incidentCount,'incident','incidents')}

-
+
{if $incidentsDuring} @@ -67,6 +67,7 @@ + {if $display_admin_links}{/if} {foreach from=$incidentsDuring item=incident} @@ -88,12 +89,13 @@ Still Open {/if} + {if $display_admin_links}{/if} {/foreach}
Time Opened Status Time ClosedActions
Edit Incident: {$incident->reference|escape:html}
{else} -

There were no recorded incidents on this day

+

There were no recorded incidents on this day

{/if}