From cd2ff3d92557c3603989cb84082c54a7e359814e Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Wed, 13 May 2020 12:05:15 +0200 Subject: [PATCH] announcements/index: Provide a real link to edit an announcement --- application/views/scripts/announcements/index.phtml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/application/views/scripts/announcements/index.phtml b/application/views/scripts/announcements/index.phtml index 9958a318b..8635116a3 100644 --- a/application/views/scripts/announcements/index.phtml +++ b/application/views/scripts/announcements/index.phtml @@ -39,13 +39,17 @@ announcements as $announcement): /** @var object $announcement */ ?> - hasPermission('admin')): ?> - - - escape($announcement->author) ?> + hasPermission('admin')): ?> + + + ellipsis($this->escape($announcement->message), 100) ?> + + + ellipsis($this->escape($announcement->message), 100) ?> + formatDateTime($announcement->start) ?> formatDateTime($announcement->end) ?> hasPermission('admin')): ?>