Bugzilla – Attachment 48712 Details for
Bug 15989
Making classification sources actions buttons
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15989: Moving classification sources actions into drop-down menus
Bug-15989-Moving-classification-sources-actions-in.patch (text/plain), 3.57 KB, created by
Aleisha Amohia
on 2016-03-06 22:06:00 UTC
(
hide
)
Description:
Bug 15989: Moving classification sources actions into drop-down menus
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2016-03-06 22:06:00 UTC
Size:
3.57 KB
patch
obsolete
>From e875225d32434e630eed639a403492ad3bbac137 Mon Sep 17 00:00:00 2001 >From: Aleisha <aleishaamohia@hotmail.com> >Date: Sun, 6 Mar 2016 22:03:41 +0000 >Subject: [PATCH] Bug 15989: Moving classification sources actions into > drop-down menus > >To test: > >1) Go to Administration -> Classification sources >2) Confirm that the actions 'Edit' and 'Delete' have been moved into drop-down menus for BOTH tables and work as expected. > >Sponsored-by: Catalyst IT >--- > .../prog/en/modules/admin/classsources.tt | 24 +++++++++++++++----- > 1 file changed, 18 insertions(+), 6 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/classsources.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/classsources.tt >index 24f8bc4..91b30f1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/classsources.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/classsources.tt >@@ -249,7 +249,7 @@ function CheckRuleForm(f) { > <th>Description</th> > <th>In Use</th> > <th>Filing Rule</th> >- <th>Actions</th> >+ <th> </th> > </tr> > [% FOREACH class_source IN class_sources %] > <tr> >@@ -258,8 +258,14 @@ function CheckRuleForm(f) { > <td>[% IF ( class_source.used ) %]Yes[% ELSE %]No[% END %]</td> > <td>[% class_source.sortrule %]</td> > <td> >- <a href="[% class_source.script_name %]?op=edit_source&class_source=[% class_source.code |html %]">Edit</a> >- <a href="[% class_source.script_name %]?op=delete_source&class_source=[% class_source.code |html %]">Delete</a> >+ <div class="dropdown"> >+ <a class="btn btn-mini dropdown-toggle" id="classsourceactions[% class_source.code %]" role="button" data-toggle="dropdown" href="#"> >+ Actions <b class="caret"></b></a> >+ <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="classsourceactions[% class_source.code %]"> >+ <li><a href="[% class_source.script_name %]?op=edit_source&class_source=[% class_source.code |html %]"><i class="fa fa-pencil"></i> Edit</a></li> >+ <li><a href="[% class_source.script_name %]?op=delete_source&class_source=[% class_source.code |html %]"><i class="fa fa-times"></i> Delete</a></li> >+ </ul> >+ </div> > </td> > </tr> > [% END %] >@@ -282,7 +288,7 @@ function CheckRuleForm(f) { > <th>Code</th> > <th>Description</th> > <th>Sorting routine</th> >- <th>Actions</th> >+ <th> </th> > </tr> > [% FOREACH class_sort_rule IN class_sort_rules %] > <tr> >@@ -290,8 +296,14 @@ function CheckRuleForm(f) { > <td>[% class_sort_rule.description %]</td> > <td>[% class_sort_rule.sort_routine %]</td> > <td> >- <a href="[% class_sort_rule.script_name %]?op=edit_sort_rule&sort_rule=[% class_sort_rule.rule |html %]">Edit</a> >- <a href="[% class_sort_rule.script_name %]?op=delete_sort_rule&sort_rule=[% class_sort_rule.rule |html %]">Delete</a> >+ <div class="dropdown"> >+ <a class="btn btn-mini dropdown-toggle" id="classsortruleactions[% class_sort_rule.rule %]" role="button" data-toggle="dropdown" href="#"> >+ Actions <b class="caret"></b></a> >+ <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="classsortrulections[% class_sort_rule.rule %]"> >+ <li><a href="[% class_sort_rule.script_name %]?op=edit_sort_rule&sort_rule=[% class_sort_rule.rule |html %]"><i class="fa fa-pencil"></i> Edit</a></li> >+ <li><a href="[% class_sort_rule.script_name %]?op=delete_sort_rule&sort_rule=[% class_sort_rule.rule |html %]"><i class="fa fa-times"></i> Delete</a></li> >+ </ul> >+ </div> > </td> > </tr> > [% END %] >-- >1.7.10.4
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 15989
:
48712
|
48714
|
48820
|
48846
|
48900
|
48901
|
49052
|
49053
|
49232
|
49244
|
49245