Bug 15990

Summary: Making record matching rules actions buttons
Product: Koha Reporter: Aleisha Amohia <aleisha>
Component: System AdministrationAssignee: Aleisha Amohia <aleisha>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: brendan, gmcharlt, jonathan.druart, katrin.fischer, oleonard
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: Sponsored Patch complexity: Small patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: Bug 15990: Moving record matching rules actions into a drop-down menu
Bug 15990: Moving record matching rules actions into a drop-down menu
Bug 15990: Moving record matching rules actions into a drop-down menu
Bug 15990: Making record matching rules actions buttons
[SIGNED-OFF] Bug 15990: Making record matching rules actions buttons
Bug 15990: Making record matching rules actions buttons
Bug 15990: (follow-up) Making record matching rules actions buttons

Description Aleisha Amohia 2016-03-06 22:11:37 UTC
Similar to Bug 15932, Bug 13778, Bug 15830, Bug 15952, Bug 15966, Bug 15988, Bug 15989
Comment 1 Aleisha Amohia 2016-03-06 22:13:01 UTC Comment hidden (obsolete)
Comment 2 Owen Leonard 2016-03-07 15:09:57 UTC
I think we should not make dropdowns where there are only two options.

I would like to propose that we start using Bootstrap-styled buttons like this when there are only two links:

      <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-remove"></i> Delete</a>
Comment 3 Katrin Fischer 2016-03-07 19:53:08 UTC
The pull down adds another click - so in cases with not so many options I think the buttons could work nicely.
Comment 4 Nicole C. Engard 2016-03-08 20:43:20 UTC Comment hidden (obsolete)
Comment 5 Jonathan Druart 2016-03-09 11:35:29 UTC Comment hidden (obsolete)
Comment 6 Jonathan Druart 2016-03-09 12:30:12 UTC
Aleisha, putting this in discussion, it seems that we should use the drop-down menu only when we have more than 2 buttons.
Comment 7 Aleisha Amohia 2016-03-10 01:48:00 UTC Comment hidden (obsolete)
Comment 8 Owen Leonard 2016-03-11 19:14:05 UTC Comment hidden (obsolete)
Comment 9 Jonathan Druart 2016-03-14 16:52:09 UTC
Created attachment 49124 [details] [review]
Bug 15990: Making record matching rules actions buttons

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>
Comment 10 Jonathan Druart 2016-03-14 16:52:12 UTC
Created attachment 49125 [details] [review]
Bug 15990: (follow-up) Making record matching rules actions buttons

Adds the actions class to the td elt to keep the buttons next to each
other.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Comment 11 Brendan Gallagher 2016-03-18 07:10:57 UTC
Pushed to Master - Should be in the May 2016 Release.  Thanks!