From 5c4f4730b0915f44a391433c5b9c984d898c2592 Mon Sep 17 00:00:00 2001 From: Paul Poulain Date: Mon, 23 Apr 2012 11:01:12 +0200 Subject: [PATCH] [PATCH] Bug 7979 [FOLLOW-UP] New design for staff interface, rights fix Fixes display of pending links (with necessary permissions being enforced). (patch made by Adrien Saurat, does not apply on my computer for an unknown reason) --- .../intranet-tmpl/prog/en/modules/intranet-main.tt | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt index 6c19248..b884335 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt @@ -98,23 +98,25 @@
- [% IF ( CAN_user_tools_moderate_comments ) && ( pendingsuggestions || pendingcomments || pendingtags ) %] + [% IF ( ( CAN_user_tools_moderate_comments && pendingcomments ) + || ( CAN_user_tools_moderate_tags && pendingtags ) + || ( CAN_user_acquisition && pendingsuggestions ) ) %]
- [% IF ( pendingsuggestions ) %] + [% IF ( CAN_user_acquisition && pendingsuggestions ) %] [% END %] - [% IF ( pendingcomments ) %] + [% IF ( CAN_user_tools_moderate_comments && pendingcomments ) %] [% END %] - [% IF ( pendingtags ) %] + [% IF ( CAN_user_tools_moderate_tags && pendingtags ) %]