Bugzilla – Attachment 49429 Details for
Bug 16120
Making action on patron search a button
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16120: Making 'Edit' on patron search a button
Bug-16120-Making-Edit-on-patron-search-a-button.patch (text/plain), 1.94 KB, created by
Marc Véron
on 2016-03-23 08:34:28 UTC
(
hide
)
Description:
Bug 16120: Making 'Edit' on patron search a button
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2016-03-23 08:34:28 UTC
Size:
1.94 KB
patch
obsolete
>From afda096bc8973ad161ccf5cace603feb404bc956 Mon Sep 17 00:00:00 2001 >From: Aleisha <aleishaamohia@hotmail.com> >Date: Tue, 22 Mar 2016 03:19:25 +0000 >Subject: [PATCH] Bug 16120: Making 'Edit' on patron search a button >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >EDIT: Adding nowrap styles to the Action column. I chose to do it with a span because that's the way it's already done in this file for another column. > >To test: >1) Go to Patrons and do a search that will bring up more than one result >2) Confirm 'Edit' now shows as a font awesome button and works as expected >3) Confirm the button does not wrap when you make your browser narrower > >Sponsored-by: Catalyst IT > >Signed-off-by: Marc Véron <veron@veron.ch> >--- > .../intranet-tmpl/prog/en/modules/members/tables/members_results.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/tables/members_results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/tables/members_results.tt >index 930fdc7..6e4018b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/tables/members_results.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/tables/members_results.tt >@@ -31,7 +31,7 @@ > "dt_borrowernotes": > "[% data.borrowernotes.replace('\\\\' , '\\\\') |html |html_line_break |collapse %]", > "dt_action": >- "<a href='/cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=[% data.borrowernumber %]'>Edit</a>", >+ "<span style='white-space:nowrap'><a href='/cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=[% data.borrowernumber %]' class='btn btn-mini'><i class='fa fa-pencil'></i> Edit</a></span>", > "borrowernumber": > "[% data.borrowernumber %]" > }[% UNLESS loop.last %],[% 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 16120
:
49408
|
49420
|
49429
|
49467
|
49475
|
49476
|
49478
|
49479