Bug 2780 - Capitalize strings consistently - various
[koha_gimpoz] / koha-tmpl / intranet-tmpl / prog / en / modules / tags / review.tt
index 7cf3df6..ddd59d3 100644 (file)
@@ -1,5 +1,5 @@
 [% INCLUDE 'doc-head-open.inc' %]
-<title>Home &rsaquo; Tools &rsaquo; Tags &rsaquo; [% IF ( do_it ) %]Review &rsaquo; [% ELSE %]Review Tags[% END %]</title>
+<title>Home &rsaquo; Tools &rsaquo; Tags &rsaquo; [% IF ( do_it ) %]Review &rsaquo; [% ELSE %]Review tags[% END %]</title>
 [% INCLUDE 'doc-head-close.inc' %]
 [% INCLUDE 'calendar.inc' %]
 <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script>
@@ -51,22 +51,22 @@ td input,td input[type="submit"] { font-size: 85%; padding: 1px; }
                // window.alert(_('AJAX approved tag: ') + tag);
        };
        var failure_approve = function(tag){
-               window.alert(_('AJAX failed to approve tag: ') + tag);
+               window.alert(_("AJAX failed to approve tag: ") + tag);
        };
        var success_reject  = function(tag){
                // window.alert(_('AJAX rejected tag: ') + tag);
        };
        var failure_reject  = function(tag){
-               window.alert(_('AJAX failed to reject tag: ') + tag);
+               window.alert(_("AJAX failed to reject tag: ") + tag);
        };
        var success_test    = function(tag){
-               $('#verdict').html(tag + _(' is permitted!'));
+               $('#verdict').html(tag + _(" is permitted!"));
        };
        var failure_test    = function(tag){
-               $('#verdict').html(tag + _(' is prohibited!'));
+               $('#verdict').html(tag + _(" is prohibited!"));
        };
        var indeterminate_test = function(tag){
-               $('#verdict').html(tag + _(' is neither permitted nor prohibited!'));
+               $('#verdict').html(tag + _(" is neither permitted nor prohibited!"));
        };
 
        var success_test_call = function() {
@@ -135,7 +135,7 @@ td input,td input[type="submit"] { font-size: 85%; padding: 1px; }
 //]]>
 </script>
 </head>
-<body>
+<body id="tags_review" class="tools">
 [% INCLUDE 'header.inc' %]
 [% INCLUDE 'cat-search.inc' %]
 
@@ -209,14 +209,15 @@ td input,td input[type="submit"] { font-size: 85%; padding: 1px; }
        <tr>
            <td class="count">[% offset + loop.count %]
            </td>
-           <td><span><input type="checkbox" value="[% tagloo.term %]" name="tags" [% IF ( approved == 0 ) %] class="pending"[% END %] /></span>
+        [% IF ( approved == 0 ) %]<td><span><input type="checkbox" value="[% tagloo.term %]" name="tags" class="pending" /></span>
+        [% ELSE %]<td><span><input type="checkbox" value="[% tagloo.term %]" name="tags" /></span>[% END %]
            </td>
            [% IF ( tagloo.approved == -1 ) %]<td class="red">rejected
                [% ELSIF ( tagloo.approved == 1 ) %]<td class="green"><img alt="OK" src="/intranet-tmpl/prog/img/approve.gif" />
                [% ELSE %]<td class="pending">
                [% END %]
            </td>
-           <td>[% tagloo.term %]
+           <td><a href="/cgi-bin/koha/tags/list.pl?tag=[% tagloo.term %]">[% tagloo.term %]</a>
            </td>
                <td>[% tagloo.weight_total %]
            </td>
@@ -255,7 +256,7 @@ td input,td input[type="submit"] { font-size: 85%; padding: 1px; }
 </div>
 <div class="yui-u">
  <fieldset class="brief">
-  <h4>Terms Summary</h4>
+  <h4>Terms summary</h4>
   <ul>
        <li><a href="/cgi-bin/koha/tags/review.pl?approved=1">Approved</a>:
                <span id="terms_summary_approved_count">[% approved_count %]</span>
@@ -304,11 +305,16 @@ td input,td input[type="submit"] { font-size: 85%; padding: 1px; }
        <ol>
            <li><label for="tag">Term</label> <input type="text" name="tag" id="tag" value="[% filter_tag %]" />
            </li>
-           <li><label for="approved">Status</label> <select name="approved" id="approved">
-                       <option [% IF ( filter_approved_all ) %]selected="selected" [% END %]value="all">all</option>
-                       <option [% IF ( filter_approved_ok ) %]selected="selected" [% END %]value="1">approved</option>
-                       <option [% IF ( filter_approved_pending ) %]selected="selected" [% END %]value="0">pending</option>
-                       <option [% IF ( filter_approved_rej ) %]selected="selected" [% END %]value="-1">rejected</option>
+           <li><label for="approved">Status</label> 
+            <select name="approved" id="approved">
+            [% IF ( filter_approved_all ) %]<option selected="selected" value="all">all</option>
+            [% ELSE %]<option value="all">all</option>[% END %]
+            [% IF ( filter_approved_ok ) %]<option selected="selected" value="1">approved</option>
+            [% ELSE %]<option value="1">approved</option>[% END %]
+            [% IF ( filter_approved_pending ) %]<option selected="selected" value="0">pending</option>
+            [% ELSE %]<option value="0">pending</option>[% END %]
+            [% IF ( filter_approved_rej ) %]<option selected="selected" value="-1">rejected</option>
+            [% ELSE %]<option value="-1">rejected</option>[% END %]
                        </select>
            </li>
            <li><label for="approver">Reviewer</label> <input type="text" name="approver" id="approver" value="[% filter_approver %]" />
@@ -316,16 +322,16 @@ td input,td input[type="submit"] { font-size: 85%; padding: 1px; }
            <li>
                        <label for="from">Date: from </label>
                        <input type="text" size="10" id="from" name="from" value="[% filter_date_approved_from %]" />
-                       <img src="[% themelang %]/lib/calendar/cal.gif" border="0" alt="Show Calendar" style="cursor: pointer;" id="openCalendarFrom" />
+            <img src="[% themelang %]/lib/calendar/cal.gif" border="0" alt="Show calendar" style="cursor: pointer;" id="openCalendarFrom" />
                        <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
 
                        <label for="to">...to </label>
                        <input type="text" size="10" id="to"   name="to"   value="[% filter_date_approved_to %]" />
-                       <img src="[% themelang %]/lib/calendar/cal.gif" border="0" alt="Show Calendar" style="cursor: pointer;" id="openCalendarTo" />
+            <img src="[% themelang %]/lib/calendar/cal.gif" border="0" alt="Show calendar" style="cursor: pointer;" id="openCalendarTo" />
                        <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
            </li>
   </ol>
- <fieldset class="action"><input type="submit" value="Apply Filter(s)" /></fieldset>
+ <fieldset class="action"><input type="submit" value="Apply filter(s)" /></fieldset>
 </fieldset>
 </form>
 <script type="text/javascript">