WIP Issue #17 - Settings page done, missing forms and other references to warning duration and stop time.

This commit is contained in:
Daniel Thee Roperto
2016-09-08 17:25:28 +10:00
parent 07ee61f4f3
commit 4e46e934d0
9 changed files with 56 additions and 26 deletions

View File

@@ -105,7 +105,7 @@ class auth_outage_renderer extends plugin_renderer_base {
. html_writer::tag('i', $outage->description)
. html_writer::empty_tag('br')
. html_writer::tag('b', 'Warning: ')
. userdate($outage->starttime - ($outage->warningduration * 60))
. userdate($outage->warntime, '%d %h %Y %l:%M%P')
. html_writer::empty_tag('br')
. html_writer::tag('b', 'Starts: ')
. userdate($outage->starttime, '%d %h %Y %l:%M%P')