From 2c5defed5b5c8b509add3a8f2aa0b86b6c857222 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Fri, 20 Nov 2015 15:46:08 +0100 Subject: [PATCH] monitoring: Update comment-list styles in components/comments.phtml --- .../scripts/show/components/comments.phtml | 38 +++++++++---------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/modules/monitoring/application/views/scripts/show/components/comments.phtml b/modules/monitoring/application/views/scripts/show/components/comments.phtml index 7d0874366..5a09d8360 100644 --- a/modules/monitoring/application/views/scripts/show/components/comments.phtml +++ b/modules/monitoring/application/views/scripts/show/components/comments.phtml @@ -45,31 +45,29 @@ if (empty($object->comments) && ! $addLink) { else: ?>
comments as $comment): ?> -
+
escape($comment->author) ?> - + translate('commented') ?> timeAgo($comment->timestamp) ?> - - - setAttrib('class', $deleteButton->getAttrib('class') . ' remove-action'); - $deleteButton->populate( - array( - 'comment_id' => $comment->id, - 'comment_is_service' => isset($comment->service_description) - ) - ); - echo $deleteButton; - ?> - - + persistent ? $this->icon('attach', 'This comment is persistent.') : '' ?> + setAttrib('class', $deleteButton->getAttrib('class') . ' remove-action'); + $deleteButton->populate( + array( + 'comment_id' => $comment->id, + 'comment_is_service' => isset($comment->service_description) + ) + ); + echo $deleteButton; + } ?>
-
-

createTicketLinks($this->escape($comment->comment)), false) ?>

+
+ createTicketLinks($this->escape($comment->comment)), false) ?>