Fixes to make all label/patron card templates uniform
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / tools / overduerules.tmpl
index a79d1b9..5b46485 100644 (file)
         <h1>Defining <!-- TMPL_IF NAME="branch" -->overdue actions for <!-- TMPL_VAR NAME="branch" --><!-- TMPL_ELSE -->default overdue actions<!-- /TMPL_IF --></h1>
         <div class="help">
             <p>Delay is the number of days after an issue is due before an action is triggered. </p>
-            <p>If you want Koha to trigger an action (send a letter or debar member), delay is needed.</p>
+            <p>If you want Koha to trigger an action (send a letter or debar member), a delay value is required.</p>
             <p>Columns must be filled left to right: if the first column is blank, other columns will be ignored. </p>
         </div>
             <form method="post" action="/cgi-bin/koha/tools/overduerules.pl">
-            <label for="branch">Select a branch :</label>
+            <label for="branch">Select a library:</label>
                 <select id="branch" name="branch">
                     <option value="">Default</option>
                     <!-- TMPL_LOOP NAME="branchloop" -->
@@ -35,7 +35,7 @@
                 <input type="submit" value="Select" />
             </form>
             <!--TMPL_IF Name="ERROR"-->
-            <div class="error">
+            <div class="dialog alert">
                 <h3>Data error</h3>
                 <p>The following fields have a forbidden value. Correct them and press OK again :</p>
                 <ul>
             <form method="post" action="/cgi-bin/koha/tools/overduerules.pl">
                 <input type="hidden" name="op" value="save" />
                 <table>
-                    <caption>Rules for overdue actions: <!--TMPL_IF Name="branch"--><!-- TMPL_VAR NAME="branch" --><!--TMPL_ELSE--> default branch <!--/TMPL_IF-->
+                    <caption>Rules for overdue actions: <!--TMPL_IF Name="branch"--><!-- TMPL_VAR NAME="branch" --><!--TMPL_ELSE--> default library <!--/TMPL_IF-->
                     <!--TMPL_IF Name="datasaved"-->
                         <br /><h3 align="center">INPUT SAVED</h3>
                     <!--/TMPL_IF -->
                     </caption>
                     <tr>
-                        <th>&nbsp;</th><th colspan="3" scope="col">First</th><th colspan="3" scope="col">Second</th><th colspan="3" scope="col">Third</th>
+                        <th rowspan="2">&nbsp;</th><th colspan="3" scope="col">First</th><th colspan="3" scope="col">Second</th><th colspan="3" scope="col">Third</th>
                     </tr>
                     <tr>
-                        <th>&nbsp;</th><th scope="col">Delay</th><th scope="col">Letter</th><th scope="col">Debar</th><th scope="col">Delay</th><th scope="col">Letter</th><th scope="col">Debar</th><th scope="col">Delay</th><th scope="col">Letter</th><th scope="col">Debar</th>
+                        <th scope="col">Delay</th><th scope="col">Letter</th><th scope="col">Debar</th><th scope="col">Delay</th><th scope="col">Letter</th><th scope="col">Debar</th><th scope="col">Delay</th><th scope="col">Letter</th><th scope="col">Debar</th>
                     </tr>
                     <!-- TMPL_LOOP NAME="table" -->
-                        <tr>
-                            <th><!-- TMPL_VAR NAME="line" --></th>
-                            <!-- TMPL_IF NAME="toggle" -->
-                                <td class="highlight">
+                     <!-- TMPL_IF NAME="toggle" -->
+                                <tr class="highlight">
                             <!-- TMPL_ELSE -->
-                                <td>
+                                <tr>
                             <!-- /TMPL_IF -->
+                            <th scope="row"><!-- TMPL_VAR NAME="line" --></th>
+<td>
                                 <input name="delay1-<!-- TMPL_VAR NAME="overduename" -->" size="5" value="<!-- TMPL_VAR NAME="delay1" -->" />
                             </td>
-                            <!-- TMPL_IF NAME="toggle" -->
-                                <td class="highlight">
-                            <!-- TMPL_ELSE -->
-                                <td>
-                            <!-- /TMPL_IF -->
+<td>
                             <!--TMPL_IF Name="noletter" -->
                                 <input type="text" name="letter1-<!-- TMPL_VAR NAME="overduename" -->" value="<!--TMPL_VAR Name="letter1"-->" />
                             <!--TMPL_ELSE -->
                                 </select>
                             <!--/TMPL_IF -->
                             </td>
-                            <!-- TMPL_IF NAME="toggle" -->
-                                <td class="highlight">
-                            <!-- TMPL_ELSE -->
-                                <td>
-                            <!-- /TMPL_IF -->
+<td>
                                 <!-- TMPL_IF NAME="debarred1" -->
                                     <input type="checkbox" name="debarred1-<!-- TMPL_VAR NAME="overduename" -->" checked="checked" value="1" />
                                 <!-- TMPL_ELSE -->
                                     <input type="checkbox" name="debarred1-<!-- TMPL_VAR NAME="overduename" -->" value="1" />
                                 <!-- /TMPL_IF -->
                             </td>
-                            <!-- TMPL_IF NAME="toggle" -->
-                                <td class="highlight">
-                            <!-- TMPL_ELSE -->
-                                <td>
-                            <!-- /TMPL_IF -->
+<td>
                                 <input name="delay2-<!-- TMPL_VAR NAME="overduename" -->" size="5" value="<!-- TMPL_VAR NAME="delay2" -->" />
                             </td>
-                            <!-- TMPL_IF NAME="toggle" -->
-                                <td class="highlight">
-                            <!-- TMPL_ELSE -->
-                                <td>
-                            <!-- /TMPL_IF -->
+<td>
                             <!--TMPL_IF Name="noletter" -->
                                 <input type="text" name="letter2-<!-- TMPL_VAR NAME="overduename" -->" value="<!--TMPL_VAR Name="letter2"-->" />
                             <!--TMPL_ELSE -->
                                 </select>
                             <!--/TMPL_IF -->
                             </td>
-                            <!-- TMPL_IF NAME="toggle" -->
-                                <td class="highlight">
-                            <!-- TMPL_ELSE -->
-                                <td>
-                            <!-- /TMPL_IF -->
+<td>
                                 <!-- TMPL_IF NAME="debarred2" -->
                                     <input type="checkbox" name="debarred2-<!-- TMPL_VAR NAME="overduename" -->" checked="checked" value="1" />
                                 <!-- TMPL_ELSE -->
                                     <input type="checkbox" name="debarred2-<!-- TMPL_VAR NAME="overduename" -->" value="1" />
                                 <!-- /TMPL_IF -->
                             </td>
-                            <!-- TMPL_IF NAME="toggle" -->
-                                <td class="highlight">
-                            <!-- TMPL_ELSE -->
-                                <td>
-                            <!-- /TMPL_IF -->
+<td>
                                 <input name="delay3-<!-- TMPL_VAR NAME="overduename" -->" size="5" value="<!-- TMPL_VAR NAME="delay3" -->" />
                             </td>
-                            <!-- TMPL_IF NAME="toggle" -->
-                                <td class="highlight">
-                            <!-- TMPL_ELSE -->
-                                <td>
-                            <!-- /TMPL_IF -->
+<td>
                             <!--TMPL_IF Name="noletter" -->
                                 <input type="text" name="letter3-<!-- TMPL_VAR NAME="overduename" -->" value="<!--TMPL_VAR Name="letter3"-->" />
                             <!--TMPL_ELSE -->
                                 </select>
                             <!--/TMPL_IF -->
                             </td>
-                            <!-- TMPL_IF NAME="toggle" -->
-                                <td class="highlight">
-                            <!-- TMPL_ELSE -->
-                                <td>
-                            <!-- /TMPL_IF -->
+<td>
                                 <!-- TMPL_IF NAME="debarred3" -->
                                     <input type="checkbox" name="debarred3-<!-- TMPL_VAR NAME="overduename" -->" checked="checked" value="1" />
                                 <!-- TMPL_ELSE -->
                         </tr>
                     <!-- /TMPL_LOOP -->
                 </table>
-                <input type="submit" value="Save Changes" />
+                <fieldset class="action"><input type="submit" value="Save Changes" /></fieldset>
             </form>
             <!-- TMPL_ELSE -->
-                <div class="warning">You don't have defined a patron category, or the patron categories don't need overdue notices.</div>
+                <div class="warning">You don't have patron categories defined, or the patron categories are not set to receive overdue notices.</div>
                 <div class="warning">If this is not what you were expecting, go to <a href="../admin/categorie.pl">patron categories</p></div>
             <!-- /TMPL_IF -->
     </div>
     </div>
-    <div class="yui-b">
+    <div class="yui-b noprint">
         <!-- TMPL_INCLUDE NAME="tools-menu.inc" -->
     </div>
 </div>