[Koha-patches] [PATCH] Bug 11866 [Follow-up] Staff side course reserves too restrictive

Owen Leonard oleonard at myacpl.org
Wed Mar 5 16:58:44 CET 2014


This follow-up patch adds a check for the "UseCourseReserves" system
preference to the display of the Course reserves menu item in the
header.

To test, view the "More" menu with the "UseCourseReserves" system
preference on and off. The menu item should appear and disappear
accordingly.
---
 .../intranet-tmpl/prog/en/includes/header.inc      |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc
index a3489c3..30c431b 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc
+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc
@@ -22,7 +22,9 @@
                             [% IF ( CAN_user_serials ) %]
                             <li><a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a></li>
                             [% END %]
+                            [% IF ( UseCourseReserves ) %]
                             <li><a href="/cgi-bin/koha/course_reserves/course-reserves.pl">Course reserves</a></li>
+                            [% END %]
                             [% IF ( CAN_user_reports ) %]
                             <li><a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a></li>
                             [% END %]
-- 
1.7.9.5


More information about the Koha-patches mailing list