From fac62f863dceea47f90027c9404604ec74c559d3 Mon Sep 17 00:00:00 2001 From: plegall Date: Tue, 22 Oct 2013 20:39:10 +0000 Subject: feature 2920 added: change admin screen "pending comments" to "all comments". Now the administrator can filter on "all" or "pending" with a single click. In the admin menu, we display the number of pending comments. git-svn-id: http://piwigo.org/svn/trunk@25084 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/themes/default/template/comments.tpl | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'admin/themes/default/template/comments.tpl') diff --git a/admin/themes/default/template/comments.tpl b/admin/themes/default/template/comments.tpl index 82fe169db..908ffbe49 100644 --- a/admin/themes/default/template/comments.tpl +++ b/admin/themes/default/template/comments.tpl @@ -43,7 +43,12 @@ jQuery(document).ready(function(){ }); {/literal}{/footer_script} -

{'Pending Comments'|@translate} {$TABSHEET_TITLE}

+

{'User comments'|@translate} {$TABSHEET_TITLE}

+ +

+ {'All'|@translate} ({$nb_total}) + | {'Waiting'|@translate} ({$nb_pending}) +

{if !empty($comments) }
@@ -57,7 +62,7 @@ jQuery(document).ready(function(){
-

{$comment.AUTHOR} - {$comment.DATE}

+

{if $comment.IS_PENDING}{'Waiting'|@translate} - {/if}{$comment.AUTHOR} - {$comment.DATE}

{$comment.CONTENT}
-- cgit v1.2.3