Bug 10415 - Add course reserves to staff client home page

A link to course reserves is in the global header menu but not on the
home page. All links from the global header should be present on the
home page as well. This patch adds it.

To test, apply the patch and if necessary clear your browser cache. View
the staff client home page. If you have "UseCourseReserves" enabled you
should see a link for the course reserves page which is visually
consistent with the other module links. If you do not have course
reserves enabled you should not see the link.

Unrelated: I positioned the admin link after the tools link because it
bugged me.

Signed-off-by: Broust <jean-manuel.broust@univ-lyon2.fr>
Signed-off-by: marjorie barry-vila <marjorie.barry-vila@ccsr.qc.ca>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes all tests and QA script, works as described.
Course reserves is still accessible without permissions, but
you can't make any changes to the reserves then.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
Owen Leonard 2014-03-11 10:58:44 -04:00 committed by Galen Charlton
parent 20d0aff0e8
commit 8a9cdcd3bc
5 changed files with 14 additions and 6 deletions

View File

@ -122,6 +122,7 @@ ul.biglinks-list li a.icon_reports {background-position:5px -733px;}
ul.biglinks-list li a.icon_administration {background-position:5px -825px;}
ul.biglinks-list li a.icon_tools {background-position:5px -917px;}
ul.biglinks-list li a.icon_koha {background-position:5px -1008px;}
ul.biglinks-list li a.icon_course_reserves {background-position:5px -1100px;}
/* Classes used for each individual module link on hover*/
ul.biglinks-list li a:hover.icon_circulation {background-position:5px -43px;}
@ -137,6 +138,7 @@ ul.biglinks-list li a:hover.icon_reports {background-position:5px -779px;}
ul.biglinks-list li a:hover.icon_administration {background-position:5px -871px;}
ul.biglinks-list li a:hover.icon_tools {background-position:5px -963px;}
ul.biglinks-list li a:hover.icon_koha {background-position:5px -1054px;}
ul.biglinks-list li a:hover.icon_course_reserves {background-position:5px -1146px;}
/* ==== MODULE LINKS - End ==== */

View File

@ -481,6 +481,7 @@
glass") symbol by Philipp Suess ; Lists ("folder") symbol by Jack
Biesek, Gladys Brenner, Margaret Faye, Healther Merrifield, Kate
Keating, Wendy Olmstead, Todd Pierce, Jamie Cowgill, Jim Bolek ;
Course reserves ("stack of books") symbol by Jeremy J. Bristol;
Cataloging ("price tag") symbol by the Noun Project ; Authorities
("link") symbol by Matthew Exton ; Serials ("newspaper") symbol by John
Caserta ; Acquisitions ("present") symbol by David Goodger ; Reports

View File

@ -48,12 +48,17 @@
<a class="icon_general icon_lists" href="/cgi-bin/koha/virtualshelves/shelves.pl">Lists</a>
</li>
[% IF ( UseCourseReserves ) %]
<li>
<a class="icon_general icon_course_reserves" href="/cgi-bin/koha/course_reserves/course-reserves.pl">Course reserves</a>
</li>
[% END %]
[% IF ( CAN_user_editcatalogue_edit_catalogue || CAN_user_editcatalogue_edit_items ) %]
<li>
<a class="icon_general icon_cataloging" href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a>
</li>
[% END %]
<li>
<a class="icon_general icon_authorities" href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a>
</li>
@ -83,11 +88,6 @@
</li>
[% END %]
[% IF ( CAN_user_parameters ) %]
<li>
<a class="icon_general icon_administration" href="/cgi-bin/koha/admin/admin-home.pl">Koha administration</a>
</li>
[% END %]
[% IF ( CAN_user_tools ) %]
<li>
@ -95,6 +95,11 @@
</li>
[% END %]
[% IF ( CAN_user_parameters ) %]
<li>
<a class="icon_general icon_administration" href="/cgi-bin/koha/admin/admin-home.pl">Koha administration</a>
</li>
[% END %]
<li>
<a class="icon_general icon_koha" href="/cgi-bin/koha/about.pl">About Koha</a>
</li>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB