From 8ca6cc32b2c789a3149861159ad258f2cb9491e3 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 14:39:39 +0200 Subject: Adding upstream version 2.11.4. Signed-off-by: Daniel Baumann --- .../scripts/partials/comment/comments-header.phtml | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 modules/monitoring/application/views/scripts/partials/comment/comments-header.phtml (limited to 'modules/monitoring/application/views/scripts/partials/comment/comments-header.phtml') diff --git a/modules/monitoring/application/views/scripts/partials/comment/comments-header.phtml b/modules/monitoring/application/views/scripts/partials/comment/comments-header.phtml new file mode 100644 index 0000000..c4c92da --- /dev/null +++ b/modules/monitoring/application/views/scripts/partials/comment/comments-header.phtml @@ -0,0 +1,32 @@ + + + $comment): + if ($i === 5) { + break; + } + ?> + + + + + + +
+ partial('partials/comment/comment-description.phtml', array('comment' => $comment)) ?> + + partial('partials/comment/comment-detail.phtml', array('comment' => $comment)) ?> +
+count() > 5): ?> +

+ qlink( + sprintf($this->translate('List all %d comments'), $comments->count()), + $listAllLink, + null, + array( + 'data-base-target' => '_next', + 'icon' => 'down-open' + ) + ) ?> +

+ -- cgit v1.2.3