Bug 16164: Making check expiration actions buttons
authorAleisha <aleishaamohia@hotmail.com>
Wed, 30 Mar 2016 00:02:09 +0000 (00:02 +0000)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Thu, 7 Apr 2016 00:05:43 +0000 (00:05 +0000)
EDIT: Using same font awesome icon for 'Renew' as in other places

To test:
1) Go to Serials -> Check expiration
2) Put in a date where one or more subscriptions will expire prior to this date
3) Confirm that column heading is now 'Actions'
4) Confirm that Edit and Renew now show as font awesome buttons
5) Confirm that the buttons don't wrap on narrower browsers
6) Confirm the buttons still work as expected

Sponsored-by: Catalyst IT
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
koha-tmpl/intranet-tmpl/prog/en/modules/serials/checkexpiration.tt

index 7fb484b..8b69320 100644 (file)
             <th>OPAC note</th>
             <th>Nonpublic note</th>
             <th>Expiration date</th>
-                       <th colspan="2">&nbsp;</th>
+            <th>Actions</th>
         </tr>
     [% FOREACH subscriptions_loo IN subscriptions_loop %]
         <tr>
             <td>
                 [% subscriptions_loo.expirationdate | $KohaDates %]
             </td>
-            <td><a href="/cgi-bin/koha/serials/subscription-add.pl?op=modify&amp;subscriptionid=[% subscriptions_loo.subscriptionid %]">Edit</a></td>
-                       <td><a href="/cgi-bin/koha/serials/subscription-renew.pl?subscriptionid=[% subscriptions_loo.subscriptionid %]" onclick="popup([% subscriptions_loo.subscriptionid %]); return false;">Renew</a></td>
+            <td class="actions">
+                <a href="/cgi-bin/koha/serials/subscription-add.pl?op=modify&amp;subscriptionid=[% subscriptions_loo.subscriptionid %]" class="btn btn-mini"><i class="fa fa-pencil"></i> Edit</a>
+                <a href="/cgi-bin/koha/serials/subscription-renew.pl?subscriptionid=[% subscriptions_loo.subscriptionid %]" onclick="popup([% subscriptions_loo.subscriptionid %]); return false;" class="btn btn-mini"><i class="fa fa-refresh"></i> Renew</a>
+            </td>
         </tr>
     [% END %]
     </table>