Bug 15990: Making record matching rules actions buttons
authorAleisha <aleishaamohia@hotmail.com>
Thu, 10 Mar 2016 01:46:57 +0000 (01:46 +0000)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Fri, 18 Mar 2016 07:10:29 +0000 (07:10 +0000)
To test:

1) Go to Administration -> Record matching rules
2) Confirm that the actions 'Edit' and 'Delete' are not buttons and behave as expected.

Sponsored-by: Catalyst IT
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
koha-tmpl/intranet-tmpl/prog/en/modules/admin/matching-rules.tt

index b362d9b..83be701 100644 (file)
@@ -574,8 +574,8 @@ function CheckRuleForm(f) {
     <td>[% available_matching_rule.code %]</td>
     <td>[% available_matching_rule.description %]</td>
     <td>
-      <a href="[% available_matching_rule.script_name %]?op=edit_matching_rule&amp;matcher_id=[% available_matching_rule.matcher_id |html %]">Edit</a>
-      <a href="[% available_matching_rule.script_name %]?op=delete_matching_rule&amp;matcher_id=[% available_matching_rule.matcher_id |html %]">Delete</a>
+      <a class="btn btn-mini" href="[% available_matching_rule.script_name %]?op=edit_matching_rule&amp;matcher_id=[% available_matching_rule.matcher_id |html %]"><i class="fa fa-pencil"></i> Edit</a>
+      <a class="btn btn-mini" href="[% available_matching_rule.script_name %]?op=delete_matching_rule&amp;matcher_id=[% available_matching_rule.matcher_id |html %]"><i class="fa fa-trash"></i> Delete</a>
     </td>
   </tr>
   [% END %]