Bugzilla – Attachment 49117 Details for
Bug 15995
Making libraries actions buttons
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15995: Making libraries actions buttons
Bug-15995-Making-libraries-actions-buttons.patch (text/plain), 4.12 KB, created by
Jonathan Druart
on 2016-03-14 16:31:59 UTC
(
hide
)
Description:
Bug 15995: Making libraries actions buttons
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-03-14 16:31:59 UTC
Size:
4.12 KB
patch
obsolete
>From e5e4038d55a4287515401c9fe54a2715b40a5dfd Mon Sep 17 00:00:00 2001 >From: Aleisha <aleishaamohia@hotmail.com> >Date: Thu, 10 Mar 2016 01:59:20 +0000 >Subject: [PATCH] Bug 15995: Making libraries actions buttons > >To test: > >1) Go to Administration -> Libraries and Groups >2) Confirm that the actions 'Edit' and 'Delete' are now buttons for BOTH > tables under one column 'Actions' and buttons 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> >--- > .../intranet-tmpl/prog/en/modules/admin/branches.tt | 20 +++++++------------- > 1 file changed, 7 insertions(+), 13 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >index 8c66bed..9573c2c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >@@ -19,7 +19,7 @@ > $(document).ready(function() { > $("#branchest").dataTable($.extend(true, {}, dataTablesDefaults, { > "aoColumnDefs": [ >- { "aTargets": [ -1, -2 ], "bSortable": false, "bSearchable": false }, >+ { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false }, > ], > "iDisplayLength": 10, > "sPaginationType": "four_button" >@@ -227,8 +227,7 @@ tinyMCE.init({ > <th>Address</th> > <th>Properties</th> > <th>IP</th> >- <th> </th> >- <th> </th> >+ <th>Actions</th> > </tr> > </thead> > <tbody> >@@ -270,10 +269,8 @@ tinyMCE.init({ > </td> > <td>[% library.branchip %]</td> > <td> >- <a href="/cgi-bin/koha/admin/branches.pl?op=add_form&branchcode=[% library.branchcode %]">Edit</a> >- </td> >- <td> >- <a href="/cgi-bin/koha/admin/branches.pl?op=delete_confirm&branchcode=[% library.branchcode %]">Delete</a> >+ <a class="btn btn-mini" href="/cgi-bin/koha/admin/branches.pl?op=add_form&branchcode=[% library.branchcode %]"><i class="fa fa-pencil"></i> Edit</a> >+ <a class="btn btn-mini" href="/cgi-bin/koha/admin/branches.pl?op=delete_confirm&branchcode=[% library.branchcode %]"><i class="fa fa-trash"></i> Delete</a> > </td> > </tr> > [% END %] >@@ -293,8 +290,7 @@ tinyMCE.init({ > <th>Name</th> > <th>Code</th> > <th>Description</th> >- <th> </th> >- <th> </th> >+ <th>Actions</th> > </tr> > </thead> > <tbody> >@@ -304,10 +300,8 @@ tinyMCE.init({ > <td>[% category.categorycode %]</td> > <td>[% category.codedescription %]</td> > <td> >- <a href="/cgi-bin/koha/admin/branches.pl?categorycode=[% category.categorycode %]&op=add_form_category">Edit</a> >- </td> >- <td> >- <a href="/cgi-bin/koha/admin/branches.pl?categorycode=[% category.categorycode %]&op=delete_confirm_category">Delete</a> >+ <a class="btn btn-mini" href="/cgi-bin/koha/admin/branches.pl?categorycode=[% category.categorycode %]&op=add_form_category"><i class="fa fa-pencil"></i> Edit</a> >+ <a class="btn btn-mini" href="/cgi-bin/koha/admin/branches.pl?categorycode=[% category.categorycode %]&op=delete_confirm_category"><i class="fa fa-trash"></i> Delete</a> > </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 15995
:
48722
|
48828
|
48904
|
49049
|
49050
|
49067
| 49117 |
49118