Bug 7734: NO_LIBRARY_SET should be translatable

To test:
- Make sure you are logged into Koha as 'root' user - not superlibrarian
- Before the patch the label will show 'NO_LIBRARY_SET', after applying
  the patch it will be 'NO LIBRARY SET' without underscores.
- Verify correct description is shown after selecting a library.

Signed-off-by: mveron <veron@veron.ch>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
This commit is contained in:
Katrin Fischer 2012-03-19 14:38:30 +01:00 committed by Jared Camins-Esakov
parent 5e635fb880
commit 5ea2b54d02
1 changed files with 7 additions and 1 deletions

View File

@ -50,7 +50,13 @@
[% LoginBranchname %]
</strong>
[% ELSE %]
<strong>[% LoginBranchname %]</strong>
<strong>
[% IF ( LoginBranchname == 'NO_LIBRARY_SET' ) %]
NO LIBRARY SET
[% ELSE %]
[% LoginBranchname %]
[% END %]
</strong>
[% IF ( IndependantBranches ) %]
[% IF ( CAN_user_management || CAN_user_editcatalogue_edit_catalogue ) %]
(<a href="/cgi-bin/koha/circ/selectbranchprinter.pl">Set library</a>)