|
@@ -83,9 +83,9 @@ discard block |
|
|
block discarded – undo |
|
83
|
83
|
$message = $this->getMaintenanceMessage($watcher); |
|
84
|
84
|
|
|
85
|
85
|
return sprintf( |
|
86
|
|
- '<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">' . |
|
87
|
|
- '<title>%s</title><style>body{margin:0;padding:30px;font:12px/1.5 Helvetica,Arial,Verdana,' . |
|
88
|
|
- 'sans-serif;}h1{margin:0;font-size:48px;font-weight:normal;line-height:48px;}strong{' . |
|
|
86
|
+ '<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">'. |
|
|
87
|
+ '<title>%s</title><style>body{margin:0;padding:30px;font:12px/1.5 Helvetica,Arial,Verdana,'. |
|
|
88
|
+ 'sans-serif;}h1{margin:0;font-size:48px;font-weight:normal;line-height:48px;}strong{'. |
|
89
|
89
|
'display:inline-block;width:65px;}</style></head><body><h1>%s</h1>%s</body></html>', |
|
90
|
90
|
$title, |
|
91
|
91
|
$title, |
|
@@ -132,7 +132,7 @@ discard block |
|
|
block discarded – undo |
|
132
|
132
|
$message = 'Maintenance mode is not active!'; |
|
133
|
133
|
if ($watcher->isActive()) { |
|
134
|
134
|
$message = $watcher instanceof ScheduledWatcher |
|
135
|
|
- ? 'Undergoing maintenance tasks until ' . $watcher->getEnd()->format('Y/m/d H:i:s') |
|
|
135
|
+ ? 'Undergoing maintenance tasks until '.$watcher->getEnd()->format('Y/m/d H:i:s') |
|
136
|
136
|
: 'Undergoing maintenance tasks'; |
|
137
|
137
|
} |
|
138
|
138
|
|
Please login to merge, or discard this patch.