mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-06-09 08:42:14 -04:00
Replace New with new
This commit is contained in:
parent
0f6374cb8e
commit
1037f142e5
2 changed files with 4 additions and 4 deletions
|
|
@ -26,7 +26,7 @@ class HistoryListItem extends CommonListItem
|
|||
case 'comment_add':
|
||||
case 'comment_remove':
|
||||
$caption->add([
|
||||
New Icon(Icons::USER),
|
||||
new Icon(Icons::USER),
|
||||
$this->item->comment->author,
|
||||
': ',
|
||||
$this->item->comment->comment
|
||||
|
|
@ -36,7 +36,7 @@ class HistoryListItem extends CommonListItem
|
|||
case 'downtime_end':
|
||||
case 'downtime_start':
|
||||
$caption->add([
|
||||
New Icon(Icons::USER),
|
||||
new Icon(Icons::USER),
|
||||
$this->item->downtime->author,
|
||||
': ',
|
||||
$this->item->downtime->comment
|
||||
|
|
@ -48,7 +48,7 @@ class HistoryListItem extends CommonListItem
|
|||
|
||||
if (! empty($this->item->notification->author)) {
|
||||
$caption->prepend([
|
||||
New Icon(Icons::USER),
|
||||
new Icon(Icons::USER),
|
||||
$this->item->notification->author,
|
||||
': '
|
||||
]);
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ class NotificationListItem extends CommonListItem
|
|||
$caption->add($this->item->text);
|
||||
} else {
|
||||
$caption->add([
|
||||
New Icon(Icons::USER),
|
||||
new Icon(Icons::USER),
|
||||
$this->item->author,
|
||||
': ',
|
||||
$this->item->text
|
||||
|
|
|
|||
Loading…
Reference in a new issue