Bugzilla – Attachment 51569 Details for
Bug 16400
Proposal to uniform the placement of submit buttons
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16400 [Follow-up] Proposal to uniform the placement of submit buttons
Bug-16400-Follow-up-Proposal-to-uniform-the-placem.patch (text/plain), 1.85 KB, created by
Jonathan Druart
on 2016-05-17 13:07:17 UTC
(
hide
)
Description:
Bug 16400 [Follow-up] Proposal to uniform the placement of submit buttons
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-05-17 13:07:17 UTC
Size:
1.85 KB
patch
obsolete
>From e603e09177645622df1f7e230e93bdba5ea76f85 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 16 May 2016 14:01:34 -0400 >Subject: [PATCH] Bug 16400 [Follow-up] Proposal to uniform the placement of > submit buttons > >This follow-up makes some corrections to the markup of the cancel >button: > >- Use <a> instead of <button> to eliminate the need for an "onclick" > attribute. >- Remove the "cancel" class which adds unwanted padding. >- Correct the destination of the cancel button when cancelling during an > edit (should redirect to the patron detail page). > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >index 48250a5..9a5cd95 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >@@ -183,12 +183,12 @@ $(document).ready(function() { > [% UNLESS ( check_member ) %] > <button class="btn btn-small" id="saverecord" type="submit" name="save" onclick="return check_form_borrowers();"><i class="fa fa-save"></i> Save</button> > [% IF opadd %] >- <button class="btn btn-small cancel" onclick="/cgi-bin/koha/members/member.pl"> >+ <a class="btn btn-small" href="/cgi-bin/koha/members/member.pl"> > [% ELSE %] >- <a class='btn btn-small cancel" onclick="/cgi-bin/koha/members/member.pl?borrowernumber=[% borrowernumber %]"> >+ <a class="btn btn-small" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]"> > [% END %] > <i class="fa fa-times"></i> Cancel >- </button> >+ </a> > [% END %] > </div> > >-- >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 16400
:
51043
|
51044
|
51144
|
51145
|
51449
|
51471
|
51517
|
51546
|
51547
|
51548
|
51549
|
51550
|
51551
|
51569
|
52765
|
52766
|
52767
|
52768
|
52769
|
52770