Bugzilla – Attachment 9268 Details for
Bug 7979
New design for staff interface
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Follow-up for permissions on pending links
0001-Bug-7979-FOLLOW-UP-New-design-for-staff-interface-ri.patch (text/plain), 2.43 KB, created by
Adrien SAURAT
on 2012-04-20 12:41:58 UTC
(
hide
)
Description:
Follow-up for permissions on pending links
Filename:
MIME Type:
Creator:
Adrien SAURAT
Created:
2012-04-20 12:41:58 UTC
Size:
2.43 KB
patch
obsolete
>From abeeedceb910b39a2b8f97b23b8eaae1e9545e1c Mon Sep 17 00:00:00 2001 >From: Adrien Saurat <adrien.saurat@biblibre.com> >Date: Fri, 20 Apr 2012 14:39:32 +0200 >Subject: [PATCH] Bug 7979 [FOLLOW-UP] New design for staff interface, rights fix > >Fixes display of pending links (with necessary permissions being >enforced). >--- > .../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 41b13a3..894f130 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt >@@ -110,23 +110,25 @@ > </ul> > </div><!-- /area-list-right --> > >- [% 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 ) ) %] > <div id="area-pending"> >- [% IF ( pendingsuggestions ) %] >+ [% IF ( CAN_user_acquisition && pendingsuggestions ) %] > <div class="pending-info"> > <a href="/cgi-bin/koha/suggestion/suggestion.pl">Suggestions pending approval: > <span class="pending-number-link">[% pendingsuggestions %]</span></a> > </div> > [% END %] > >- [% IF ( pendingcomments ) %] >+ [% IF ( CAN_user_tools_moderate_comments && pendingcomments ) %] > <div class="pending-info"> > <a href="/cgi-bin/koha/reviews/reviewswaiting.pl">Comments pending approval: > <span class="pending-number-link">[% pendingcomments %]</span></a> > </div> > [% END %] > >- [% IF ( pendingtags ) %] >+ [% IF ( CAN_user_tools_moderate_tags && pendingtags ) %] > <div class="pending-info"> > <a href="/cgi-bin/koha/tags/review.pl">Tags pending approval: > <span class="pending-number-link">[% pendingtags %]</span></a> >-- >1.7.4.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 7979
:
9245
|
9255
|
9256
|
9263
|
9268
|
9272