Bug 5341: Moves the "save" button to the top of the serial receiving
authorJonathan Druart <jonathan.druart@biblibre.com>
Thu, 8 Mar 2012 09:09:23 +0000 (10:09 +0100)
committerPaul Poulain <paul.poulain@biblibre.com>
Tue, 13 Mar 2012 16:23:49 +0000 (17:23 +0100)
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt

index 1db30c1..a0d4bb5 100644 (file)
@@ -186,6 +186,13 @@ $(document).ready(function() {
 
  [% FOREACH year IN years %]
 <div id="subscription-year-[% year.year %]">
+    [% IF ( CAN_user_serials_receive_serials ) %]
+        <p>
+            <input type="submit" value="Edit serials" />&nbsp;
+            <input type="button" value="Generate Next" onclick="javascript:generateNext([% subscriptionidlist %])" />
+        </p>
+    [% END %]
+
         <table>
          <tr>
 [% IF ( subscriptions.size > 1 ) %]
@@ -254,12 +261,6 @@ $(document).ready(function() {
             </tr>
       [% END %]
         </table>
-    [% IF ( CAN_user_serials_receive_serials ) %]
-        <p>
-            <input type="submit" value="Edit serials" />&nbsp;
-            <input type="button" value="Generate Next" onclick="javascript:generateNext([% subscriptionidlist %])" />
-        </p>
-    [% END %]
     </div>
     [% END %]
   <input type="hidden" name="subscriptionid" value="[% subscriptionidlist %]" />