Improve rendering of the announcements list

Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
This commit is contained in:
Alexander A. Klimov 2016-12-12 10:21:50 +01:00 committed by Eric Lippmann
parent 94071848ca
commit b75e24db91
1 changed files with 1 additions and 1 deletions

View File

@ -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')): ?>