Bugzilla – Attachment 24408 Details for
Bug 11522
self registration formatting
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11522 self-registration formating
Bug-11522-self-registration-formating.patch (text/plain), 3.21 KB, created by
Owen Leonard
on 2014-01-15 15:17:55 UTC
(
hide
)
Description:
Bug 11522 self-registration formating
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2014-01-15 15:17:55 UTC
Size:
3.21 KB
patch
obsolete
>From d396ea5fbb884de8694fb5ecb9e90476d1ff68a6 Mon Sep 17 00:00:00 2001 >From: Francesca Moore <francescalamoore@gmail.com> >Date: Wed, 15 Jan 2014 11:43:00 +1300 >Subject: [PATCH] Bug 11522 self-registration formating >Content-Type: text/plain; charset="utf-8" > >1. in prog theme, enable opac self-registration and inspect clear date with firebug > note that there are empty paragraph tags >2. add date of birth as a requirment in self-registration >3. apply patch >4. refresh page and notice that empty paragraph tags have been deleted, > so that required lines up with clear date >5. repeat the above steps for bootstrap theme > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > .../bootstrap/en/modules/opac-memberentry.tt | 2 +- > .../opac-tmpl/prog/en/modules/opac-memberentry.tt | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >index 0d48e8d..ac878cd 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >@@ -162,7 +162,7 @@ > <input type="text" id="borrower_dateofbirth" name="borrower_dateofbirth" value="[% borrower.dateofbirth | $KohaDates %]" size="10" /> > > [% UNLESS action == 'edit' && !OPACPatronDetails %] >- <a href="#" style="font-size:85%;text-decoration:none;" onclick="document.getElementById('borrower_dateofbirth').value='';return false;">Clear date</a><p></p> >+ <a href="#" style="font-size:85%;text-decoration:none;" onclick="document.getElementById('borrower_dateofbirth').value='';return false;">Clear date</a> > [% END %] > > [% IF mandatory.defined('dateofbirth') %]<span class="required">Required</span>[% END %] >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-memberentry.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-memberentry.tt >index 215d8cb..e0edf11 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-memberentry.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-memberentry.tt >@@ -169,7 +169,7 @@ > <input type="text" id="borrower_dateofbirth" name="borrower_dateofbirth" value="[% borrower.dateofbirth | $KohaDates %]" size="10" /> > > [% UNLESS action == 'edit' && !OPACPatronDetails %] >- <a href="#" style="font-size:85%;text-decoration:none;" onclick="document.getElementById('borrower_dateofbirth').value='';return false;">Clear date</a><p></p> >+ <a href="#" style="font-size:85%;text-decoration:none;" onclick="document.getElementById('borrower_dateofbirth').value='';return false;">Clear date</a> > [% END %] > > [% IF mandatory.defined('dateofbirth') %]<span class="required">Required</span>[% END %] >-- >1.7.9.5
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 11522
:
24183
|
24184
|
24324
|
24408
|
24414