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>
<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 -->
</div> <!-- /#library_info -->
[% ELSE %]
- <h2>Libraries</h2>
+ <h2>[% IF ( singleBranchMode ) %]Library[% ELSE %]Libraries[% END %]</h2>
[% FOREACH library IN libraries %]
<h3 property="name">