Bug 12699 - Capitalization: All Libraries in pull down on news tool page

To test, got to tools > news
- In pulldown and in table, "All Libraries" should now read "All libraries"
- Create additonal news for "All libraries". Pull down in form should read "All libraries" as well
- Make sure that news for "All libraries" diesplay correctly where they should (in OPAC and Staff client)

Signed-off-by: Nick Clemens <nick@quecheelibrary.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
Marc Véron 2014-07-21 12:25:21 +02:00 committed by Tomas Cohen Arazi
parent a72b3371b8
commit 16292ac138

View file

@ -105,9 +105,9 @@ Edit news item[% ELSE %]Add news item[% END %][% ELSE %]News[% END %]</div>
<label for="branch">Library: </label>
<select id="branch" name="branch">
[% IF ( new_detail.branchcode == '' ) %]
<option value="" selected="selected">All Libraries</option>
<option value="" selected="selected">All libraries</option>
[% ELSE %]
<option value="" >All Libraries</option>
<option value="" >All libraries</option>
[% END %]
[% FOREACH branch_item IN branch_list %]
[% IF ( branch_item.value.branchcode == new_detail.branchcode ) %]
@ -178,9 +178,9 @@ Edit news item[% ELSE %]Add news item[% END %][% ELSE %]News[% END %]</div>
<label for="branch">Library: </label>
<select id="branch" name="branch">
[% IF ( branchcode == "" ) %]
<option value="" selected="selected">All Libraries</option>
<option value="" selected="selected">All libraries</option>
[% ELSE %]
<option value="" >All Libraries</option>
<option value="" >All libraries</option>
[% END %]
[% FOREACH branch_item IN branch_list %]
[% IF ( branch_item.value.branchcode == branchcode ) %]
@ -232,7 +232,7 @@ Edit news item[% ELSE %]Add news item[% END %][% ELSE %]News[% END %]</div>
[% END %]
</td>
<td>[% IF ( opac_new.branchcode == "" ) -%]
All Libraries
All libraries
[% ELSE %][% opac_new.branchname %]
[% END %]</td>
<td>[% opac_new.number %]</td>