From 80baa5af8f8f1ce9ddb765bb93fbe55b87f3cc33 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Thu, 14 Apr 2022 08:44:39 +0200 Subject: [PATCH] Fix templating issues in comments list Closes #573 Signed-off-by: Thomas Citharel --- tpl/part/comments_list.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tpl/part/comments_list.tpl b/tpl/part/comments_list.tpl index 766ff0c..f5e66f8 100644 --- a/tpl/part/comments_list.tpl +++ b/tpl/part/comments_list.tpl @@ -1,10 +1,10 @@
-
+ {if $comments|count > 0}

{__('Comments', 'Comments of polled people')}

{foreach $comments as $comment}
- {if isset($admin) && !$expired} + {if isset($admin) && $admin && !$expired} {/if} {$comment->date|intl_date_format:$date_format['txt_datetime_short']}