Updated linking from homepage to single status page, links to section for that date when clicked, tidied up to ui bits and bobs
Signed-off-by: Nathan Booth <nath.booth@gmail.com>
This commit is contained in:
@@ -44,11 +44,12 @@
|
||||
</td>
|
||||
<td>
|
||||
{$status=$site->status()}
|
||||
{include file="fragments/site-status.tpl" nocache start=null end=null}
|
||||
{include file="fragments/site-status.tpl" nocache date=null start=null end=null}
|
||||
</td>
|
||||
{foreach from=array(0,1,2,3,4,5,6) item=day}
|
||||
{$start=mktime(0,0,0,date("n"),date("j")-$day)}
|
||||
{$end=mktime(0,0,0,date("n"),date("j")-$day+1)}
|
||||
{$date=mktime(0,0,0,date("n"),date("j")-$day)|date_format:"jM"}
|
||||
{$incidentsDuring=$site->openIncidentsDuring($start, $end)}
|
||||
{$statusDuring=StatusBoard_Incident::highestSeverityStatusBetween($incidentsDuring, $start, $end)}
|
||||
<td>
|
||||
|
||||
Reference in New Issue
Block a user