Bugzilla – Attachment 49293 Details for
Bug 16098
Making subscription fields actions buttons
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16098: Making subscription fields actions buttons
Bug-16098-Making-subscription-fields-actions-butto.patch (text/plain), 2.13 KB, created by
Aleisha Amohia
on 2016-03-17 23:55:04 UTC
(
hide
)
Description:
Bug 16098: Making subscription fields actions buttons
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2016-03-17 23:55:04 UTC
Size:
2.13 KB
patch
obsolete
>From 0b82d039c3abf8a722fd24068f680c4bdcce4e80 Mon Sep 17 00:00:00 2001 >From: Aleisha <aleishaamohia@hotmail.com> >Date: Thu, 17 Mar 2016 23:52:14 +0000 >Subject: [PATCH] Bug 16098: Making subscription fields actions buttons > >To test: >1) Go to Serials -> Add subscription fields >2) Confirm actions "Edit" and "Delete" now show as buttons and work as expected >3) When you make your browser narrow, confirm that the Actions column does not wrap >4) Confirm that you cannot sort on the Actions column > >Sponsored-by: Catalyst IT >--- > koha-tmpl/intranet-tmpl/prog/en/modules/serials/add_fields.tt | 9 ++++++--- > 1 file changed, 6 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/add_fields.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/add_fields.tt >index a7f847b..45366f4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/add_fields.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/add_fields.tt >@@ -21,6 +21,9 @@ > 'aLengthMenu': [[10, 20, 50, 100, -1], [10, 20, 50, 100, "All"]], > 'iDisplayLength': 20, > 'aaSorting': [[ 0, "asc" ]], >+ "aoColumnDefs": [ >+ { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false }, >+ ] > })); > > $(".confirmdelete").click(function(){ >@@ -104,9 +107,9 @@ > <td> > [% IF field.searchable %]Yes[% ELSE %]No[% END %] > </td> >- <td> >- <a href="/cgi-bin/koha/serials/add_fields.pl?op=add_form&field_id=[% field.id %]" title="Edit this field">Edit</a> >- <a class="confirmdelete" href="/cgi-bin/koha/serials/add_fields.pl?op=delete&field_id=[% field.id %]" title="Delete this field">Delete</a> >+ <td class="actions"> >+ <a class="btn btn-mini" href="/cgi-bin/koha/serials/add_fields.pl?op=add_form&field_id=[% field.id %]"><i class="fa fa-pencil"></i> Edit</a> >+ <a class="confirmdelete btn btn-mini" href="/cgi-bin/koha/serials/add_fields.pl?op=delete&field_id=[% field.id %]"><i class="fa fa-trash"></i> Delete</a> > </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 16098
:
49293
|
49309
|
49359