aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default/template/admin.tpl
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2013-10-22 20:39:10 +0000
committerplegall <plg@piwigo.org>2013-10-22 20:39:10 +0000
commitfac62f863dceea47f90027c9404604ec74c559d3 (patch)
tree3b014552b96aed3bac301aeef8fea9bf907a456c /admin/themes/default/template/admin.tpl
parentad6c3fd5661db2aa5aa21f7c1e661576f202fd02 (diff)
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
Diffstat (limited to 'admin/themes/default/template/admin.tpl')
-rw-r--r--admin/themes/default/template/admin.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/themes/default/template/admin.tpl b/admin/themes/default/template/admin.tpl
index 782b9a0d1..bb46a3a70 100644
--- a/admin/themes/default/template/admin.tpl
+++ b/admin/themes/default/template/admin.tpl
@@ -72,8 +72,8 @@ jQuery(document).ready(function(){ldelim}
{/if}
<li><a class="icon-signal" href="{$U_HISTORY_STAT}">{'History'|@translate}</a></li>
<li><a class="icon-tools" href="{$U_MAINTENANCE}">{'Maintenance'|@translate}</a></li>
-{if isset($U_PENDING_COMMENTS)}
- <li><a class="icon-chat" href="{$U_PENDING_COMMENTS}">{'Pending Comments'|@translate}</a></li>
+{if isset($U_COMMENTS)}
+ <li><a class="icon-chat" href="{$U_COMMENTS}">{'Comments'|@translate}{if $NB_PENDING_COMMENTS > 0}<span class="adminMenubarCounter" title="{'%d waiting for validation'|translate:$NB_PENDING_COMMENTS}">{$NB_PENDING_COMMENTS}</span>{/if}</a></li>
{/if}
<li><a class="icon-arrows-cw" href="{$U_UPDATES}">{'Updates'|@translate}</a></li>
</ul>