Bugzilla – Attachment 49049 Details for
Bug 15995
Making libraries actions buttons
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 15995: Making libraries actions buttons
SIGNED-OFF-Bug-15995-Making-libraries-actions-butt.patch (text/plain), 4.10 KB, created by
Owen Leonard
on 2016-03-11 16:50:03 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 15995: Making libraries actions buttons
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2016-03-11 16:50:03 UTC
Size:
4.10 KB
patch
obsolete
>From 7471667c1576a946c2198a7ac50efc8e0b729387 Mon Sep 17 00:00:00 2001 >From: Aleisha <aleishaamohia@hotmail.com> >Date: Thu, 10 Mar 2016 01:59:20 +0000 >Subject: [PATCH] [SIGNED-OFF] Bug 15995: Making libraries actions buttons >Content-Type: text/plain; charset="utf-8" > >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> >--- > .../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.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 15995
:
48722
|
48828
|
48904
|
49049
|
49050
|
49067
|
49117
|
49118