Bugzilla – Attachment 48848 Details for
Bug 15990
Making record matching rules actions buttons
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15990: Moving record matching rules actions into a drop-down menu
Bug-15990-Moving-record-matching-rules-actions-int.patch (text/plain), 2.51 KB, created by
Jonathan Druart
on 2016-03-09 11:35:29 UTC
(
hide
)
Description:
Bug 15990: Moving record matching rules actions into a drop-down menu
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-03-09 11:35:29 UTC
Size:
2.51 KB
patch
obsolete
>From 2df4a3216573b6660a59a7ba6218f8a2a2884edb Mon Sep 17 00:00:00 2001 >From: Aleisha <aleishaamohia@hotmail.com> >Date: Sun, 6 Mar 2016 22:10:48 +0000 >Subject: [PATCH] Bug 15990: Moving record matching rules actions into a > drop-down menu > >To test: > >1) Go to Administration -> Record matching rules >2) Confirm that the actions 'Edit' and 'Delete' have been moved into a drop-down menu and buttons behave as expected. > >Sponsored-by: Catalyst IT > >Signed-off-by: Nicole C Engard <nengard@bywatersolutions.com> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > .../intranet-tmpl/prog/en/modules/admin/matching-rules.tt | 12 +++++++++--- > 1 file changed, 9 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/matching-rules.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/matching-rules.tt >index b362d9b..6c153f9 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/matching-rules.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/matching-rules.tt >@@ -566,7 +566,7 @@ function CheckRuleForm(f) { > <th>#</th> > <th>Code</th> > <th>Description</th> >- <th>Actions</th> >+ <th> </th> > </tr> > [% FOREACH available_matching_rule IN available_matching_rules %] > <tr> >@@ -574,8 +574,14 @@ 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&matcher_id=[% available_matching_rule.matcher_id |html %]">Edit</a> >- <a href="[% available_matching_rule.script_name %]?op=delete_matching_rule&matcher_id=[% available_matching_rule.matcher_id |html %]">Delete</a> >+ <div class="dropdown"> >+ <a class="btn btn-mini dropdown-toggle" id="matchingrulesactions[% available_matching_rule.matcher_id %]" role="button" data-toggle="dropdown" href="#"> >+ Actions <b class="caret"></b></a> >+ <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="matchingrulesactions[% available_matching_rule.matcher_id %]"> >+ <li><a href="[% available_matching_rule.script_name %]?op=edit_matching_rule&matcher_id=[% available_matching_rule.matcher_id |html %]"><i class="fa fa-pencil"></i> Edit</a></li> >+ <li><a href="[% available_matching_rule.script_name %]?op=delete_matching_rule&matcher_id=[% available_matching_rule.matcher_id |html %]"><i class="fa fa-trash"></i> Delete</a></li> >+ </ul> >+ </div> > </td> > </tr> > [% END %] >-- >2.7.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 15990
:
48713
|
48821
|
48848
|
48902
|
49057
|
49124
|
49125