Bug 13388: (QA follow-up) Add id to nav item and use singleBranchMode
This uses the existing singleBranchMode variable to display either Library or Libraries depending on the number of existing libraries in the installation. It also adds an id to the navigation item for customization purposes. Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
20c3d85b5e
commit
5a861749d9
|
|
@ -313,7 +313,13 @@
|
|||
<li><a href="/cgi-bin/koha/opac-suggestions.pl?suggested_by_anyone=1">Purchase suggestions</a></li>
|
||||
[% END %]
|
||||
[% END %]
|
||||
<li><a href="/cgi-bin/koha/opac-library.pl">Libraries</a></li>
|
||||
<li id="library_page"><a href="/cgi-bin/koha/opac-library.pl">
|
||||
[% IF ( singleBranchMode ) %]
|
||||
Library
|
||||
[% ELSE %]
|
||||
Libraries
|
||||
[% END %]
|
||||
</a></li>
|
||||
[% Koha.Preference('OpacMoreSearches') | $raw %]
|
||||
</ul>
|
||||
</div> <!-- /#moresearches -->
|
||||
|
|
|
|||
|
|
@ -129,7 +129,7 @@
|
|||
</div> <!-- /#library_info -->
|
||||
|
||||
[% ELSE %]
|
||||
<h2>Libraries</h2>
|
||||
<h2>[% IF ( singleBranchMode ) %]Library[% ELSE %]Libraries[% END %]</h2>
|
||||
|
||||
[% FOREACH library IN libraries %]
|
||||
<h3 property="name">
|
||||
|
|
|
|||
Loading…
Reference in New Issue