Bug 12699 - Capitalization: All Libraries in pull down on news tool page
authorMarc Véron <veron@veron.ch>
Mon, 21 Jul 2014 10:25:21 +0000 (12:25 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 7 Aug 2014 14:44:59 +0000 (11:44 -0300)
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>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt

index b4d2440..552fb6e 100644 (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>