Bugzilla – Attachment 48819 Details for
Bug 15988
Moving authority types actions into a drop-down menu
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15988: Moving authority types actions into a drop-down menu
Bug-15988-Moving-authority-types-actions-into-a-dr.patch (text/plain), 3.28 KB, created by
Nicole C. Engard
on 2016-03-08 20:41:07 UTC
(
hide
)
Description:
Bug 15988: Moving authority types actions into a drop-down menu
Filename:
MIME Type:
Creator:
Nicole C. Engard
Created:
2016-03-08 20:41:07 UTC
Size:
3.28 KB
patch
obsolete
>From a774913eb0fd1240f90961833b7ba9186c7d9ca3 Mon Sep 17 00:00:00 2001 >From: Aleisha <aleishaamohia@hotmail.com> >Date: Sun, 6 Mar 2016 21:48:23 +0000 >Subject: [PATCH] Bug 15988: Moving authority types actions into a drop-down > menu > >To test: > >1) Go to Administration -> Authority types >2) Confirm all actions ('MARC Structure', Edit', 'Delete') have been moved into a drop down menu for each auth type, and each action behaves as expected. > >Sponsored-by: Catalyst IT > >Signed-off-by: Nicole C Engard <nengard@bywatersolutions.com> >--- > .../intranet-tmpl/prog/en/modules/admin/authtypes.tt | 18 ++++++++++++------ > 1 file changed, 12 insertions(+), 6 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt >index e72cc60..0e899b8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt >@@ -14,7 +14,7 @@ > $(document).ready(function() { > $("#authtypes").dataTable($.extend(true, {}, dataTablesDefaults, { > "aoColumnDefs": [ >- { "aTargets": [ -1, -2, -3 ], "bSortable": false, "bSearchable": false }, >+ { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false }, > ], > "sPaginationType": "four_button" > })); >@@ -151,8 +151,6 @@ > <th>Summary</th> > <th>Auth field copied</th> > <th> </th> >- <th>Edit</th> >- <th>Delete</th> > </tr> > </thead> > <tbody> >@@ -162,9 +160,17 @@ > <td>[% authority_type.authtypetext %]</td> > <td>[% authority_type.summary %]</td> > <td>[% authority_type.auth_tag_to_report %]</td> >- <td><a href="auth_tag_structure.pl?authtypecode=[% authority_type.authtypecode %]" class="button parameters" >MARC structure</a></td> >- <td><a href="/cgi-bin/koha/admin/authtypes.pl?op=add_form&authtypecode=[% authority_type.authtypecode |html %]">Edit</a></td> >- <td><a href="/cgi-bin/koha/admin/authtypes.pl?op=delete_confirm&authtypecode=[% authority_type.authtypecode |html %]">Delete</a></td> >+ <td> >+ <div class="dropdown"> >+ <a class="btn btn-mini dropdown-toggle" id="authtypeactions[% authority_type.authtypecode %]" role="button" data-toggle="dropdown" href="#"> >+ Actions <b class="caret"></b></a> >+ <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="authtypeactions[% authority_type.authtypecode %]"> >+ <li><a href="auth_tag_structure.pl?authtypecode=[% authority_type.authtypecode %]" class="button parameters"><i class="fa fa-eye"></i> MARC structure</a></li> >+ <li><a href="/cgi-bin/koha/admin/authtypes.pl?op=add_form&authtypecode=[% authority_type.authtypecode |html %]"><i class="fa fa-pencil"></i> Edit</a></li> >+ <li><a href="/cgi-bin/koha/admin/authtypes.pl?op=delete_confirm&authtypecode=[% authority_type.authtypecode |html %]"><i class="fa fa-trash"></i> Delete</a></li> >+ </ul> >+ </div> >+ </td> > </tr> > [% END %] > <tbody> >-- >2.1.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 15988
:
48711
|
48715
|
48819
|
48844