Improve rendering of the announcements list
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
This commit is contained in:
parent
94071848ca
commit
b75e24db91
|
@ -39,7 +39,7 @@
|
|||
<tr>
|
||||
<?php endif ?>
|
||||
<td><?= $this->escape($announcement->author) ?></td>
|
||||
<td><?= $this->ellipsis($announcement->message, 100) ?></td>
|
||||
<td><?= $this->ellipsis($this->escape($announcement->message), 100) ?></td>
|
||||
<td><?= $this->formatDateTime($announcement->start->getTimestamp()) ?></td>
|
||||
<td><?= $this->formatDateTime($announcement->end->getTimestamp()) ?></td>
|
||||
<?php if ($this->hasPermission('admin')): ?>
|
||||
|
|
Loading…
Reference in New Issue