Bugzilla – Attachment 9094 Details for
Bug 7876
Add ids to divs and spans with ids in opac-user.tt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7876 - Followup - Fix span tag position, add fine amount spans.
Bug-7876---Followup---Fix-span-tag-position-add-fi.patch (text/plain), 3.23 KB, created by
Liz Rea
on 2012-04-10 21:16:53 UTC
(
hide
)
Description:
Bug 7876 - Followup - Fix span tag position, add fine amount spans.
Filename:
MIME Type:
Creator:
Liz Rea
Created:
2012-04-10 21:16:53 UTC
Size:
3.23 KB
patch
obsolete
>From 978952b56b996c3d4ba85c7ebd2222a01c2439d0 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 10 Apr 2012 12:51:23 -0400 >Subject: [PATCH] Bug 7876 - Followup - Fix span tag position, add fine amount spans. >Content-Type: text/plain; charset="utf-8" > >Span was outside, the if statement, could possible cause problems >with jQuery customizations, moved span to inside the conditional. > >Also added span for the fine amount itself, so that it may be >re-used for jQuery customizations. > >Signed-off-by: Liz Rea <wizzyrea@gmail.com> >Passed tests, spans appear to be correct. >--- > koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt | 6 +++--- > 1 files changed, 3 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt >index 1e2b5cc..9729c7c 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt >@@ -84,7 +84,7 @@ $.tablesorter.addParser({ > [% IF ( BORROWER_INF.warndeparture ) %] > <div class="dialog alert" id="warndeparture"> > <strong>Please note:</strong><span> Your card will expire on <span id="warndeparture_date">[% BORROWER_INF.warndeparture %]</span>. Please contact the library if you wish to renew your subscription.</span> >- <span id="warndeparture_returnbeforeexpiry">[% IF ( BORROWER_INF.returnbeforeexpiry ) %]<span> Also note that you must return all checked out items before your card expires.</span>[% END %]</span> >+ [% IF ( BORROWER_INF.returnbeforeexpiry ) %]<span id="warndeparture_returnbeforeexpiry"> Also note that you must return all checked out items before your card expires.</span>[% END %] > </div> > [% END %] > >@@ -101,9 +101,9 @@ $.tablesorter.addParser({ > <span id="lost"><li><strong>Please note: </strong> Your library card has been marked as lost or stolen. If this is an error, please contact the library.</li></span> > [% END %] > [% IF ( renewal_blocked_fines ) && ( OpacRenewalAllowed ) %] >- <span id="renewal_blocked_fines"><li><strong>Please note: </strong> Since you have <a href="/cgi-bin/koha/opac-account.pl">more than [% renewal_blocked_fines %]</a> in fines, you cannot renew your books online. Please pay your fines if you wish to renew your books.</li></span> >+ <span id="renewal_blocked_fines"><li><strong>Please note: </strong> Since you have <a href="/cgi-bin/koha/opac-account.pl">more than <span id="renewal_blocked_fines_amount">[% renewal_blocked_fines %]</span></a> in fines, you cannot renew your books online. Please pay your fines if you wish to renew your books.</li></span> > [% ELSIF ( renewal_blocked_fines ) %] >- <span id="renewal_blocked_fines"><li><strong>Please note: </strong> You have <a href="/cgi-bin/koha/opac-account.pl">more than [% renewal_blocked_fines %]</a> in fines. </li></span> >+ <span id="renewal_blocked_fines"><li><strong>Please note: </strong> You have <a href="/cgi-bin/koha/opac-account.pl">more than <span id="renewal_blocked_fines_amount">[% renewal_blocked_fines %]</span></a> in fines. </li></span> > [% END %] > </ul></div> > [% END %] >-- >1.7.2.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 7876
:
8784
|
8839
|
8877
|
9081
| 9094