Bug 16381: Fix capitalization on tags review page
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Fri, 29 Apr 2016 00:15:30 +0000 (02:15 +0200)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 29 Apr 2016 16:06:57 +0000 (16:06 +0000)
- Fixes capitalization of the sub heading "Displaying ... terms"
- Fixes button label of "Test"

To test:
- Look at all, approved, rejected, pending tags and check
  the line below the heading "Tags" - "Displaying..."
- Check a term using the search box on the left side
  Before the patch: Test - Processing... - test
  After the patch this should be Test again in the end.

Capitalization looks good. QA tools complain about tabs, but there
are loads of tabs all over review.tt. Proper formatting of the whole file
could be done in a separate bug.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt

index 773ba41..37804eb 100644 (file)
@@ -74,7 +74,7 @@ tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; }
 
        var success_test_call = function() {
         $('#test_button').prop('disabled', false);
-               $('#test_button').attr("value","test");
+        $('#test_button').attr("value","Test");
        };
        $(document).ready(function() {
                $('.ajax_buttons' ).css({visibility:"visible"});
@@ -173,11 +173,11 @@ tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; }
 <h1>Tags</h1>
 <form method="post" action="/cgi-bin/koha/tags/review.pl" class="checkboxed">
   <h4>Displaying 
-       [% IF ( filter_approved_all ) %]ALL[% END %]
-       [% IF ( filter_approved_ok ) %]Approved[% END %]
-       [% IF ( filter_approved_pending ) %]Pending[% END %]
-       [% IF ( filter_approved_rej ) %]Rejected[% END %]
-       Terms
+       [% IF ( filter_approved_all ) %]all[% END %]
+       [% IF ( filter_approved_ok ) %]approved[% END %]
+       [% IF ( filter_approved_pending ) %]pending[% END %]
+       [% IF ( filter_approved_rej ) %]rejected[% END %]
+       terms
   </h4>
 
   [% IF ( op_count ) %]