From 9db202af0d0d1c00bf0335fc0cef20fe5868be7e Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Mon, 2 Apr 2012 13:57:36 -0400 Subject: [PATCH] Bug 7876 - Add ids to divs and spans with ids in opac-user.tt This commit adds an id to each div, and adds spans where there are no appropriate divs to add. In addition, non-static text such as the expiration date are wrapped in a special sub-span so that data can be pulled and reused when customizing via jQuery. Signed-off-by: Jared Camins-Esakov Signed-off-by: Paul Poulain --- koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 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 b8e98a2069..541dd337b6 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt @@ -82,9 +82,9 @@ $.tablesorter.addParser({ [% IF ( patronupdate ) %]

Thank you!

Your corrections have been submitted to the library, and a staff member will update your record as soon as possible.

[% END %] [% IF ( BORROWER_INF.warndeparture ) %] -
- Please note: Your card will expire on [% BORROWER_INF.warndeparture %]. Please contact the library if you wish to renew your subscription. - [% IF ( BORROWER_INF.returnbeforeexpiry ) %] Also note that you must return all checked out items before your card expires.[% END %] +
+ Please note: Your card will expire on [% BORROWER_INF.warndeparture %]. Please contact the library if you wish to renew your subscription. + [% IF ( BORROWER_INF.returnbeforeexpiry ) %] Also note that you must return all checked out items before your card expires.[% END %]
[% END %] @@ -92,18 +92,18 @@ $.tablesorter.addParser({
    [% IF ( userdebarred ) %] -
  • Please note: Your account has been frozen[% IF ( BORROWER_INF.userdebarreddate ) %] until [% BORROWER_INF.userdebarreddate | $KohaDates %][% END %][% IF ( BORROWER_INF.debarredcomment ) %] with the comment "[% BORROWER_INF.debarredcomment %]"[% END %]. Usually the reason for freezing an account is old overdues or damage fees. If your account page shows your account to be clear, please contact the library.
  • +
  • Please note: Your account has been frozen[% IF ( BORROWER_INF.userdebarreddate ) %] until [% BORROWER_INF.userdebarreddate | $KohaDates %][% END %][% IF ( BORROWER_INF.debarredcomment ) %] with the comment "[% BORROWER_INF.debarredcomment %]"[% END %]. Usually the reason for freezing an account is old overdues or damage fees. If your account page shows your account to be clear, please contact the library.
  • [% END %] [% IF ( BORROWER_INF.gonenoaddress ) %] -
  • Please note: According to our records, we don't have up-to-date [% UNLESS ( BORROWER_INF.OPACPatronDetails ) %]contact information[% ELSE %]contact information[% END %] on file. Please contact the library[% IF ( BORROWER_INF.OPACPatronDetails ) %] or use the online update form to submit current information (Please note: there may be a delay in restoring your account if you submit online)[% END %].
  • +
  • Please note: According to our records, we don't have up-to-date [% UNLESS ( BORROWER_INF.OPACPatronDetails ) %]contact information[% ELSE %]contact information[% END %] on file. Please contact the library[% IF ( BORROWER_INF.OPACPatronDetails ) %] or use the online update form to submit current information (Please note: there may be a delay in restoring your account if you submit online)[% END %].
  • [% END %] [% IF ( BORROWER_INF.lost ) %] -
  • Please note: Your library card has been marked as lost or stolen. If this is an error, please contact the library.
  • +
  • Please note: Your library card has been marked as lost or stolen. If this is an error, please contact the library.
  • [% END %] [% IF ( renewal_blocked_fines ) && ( OpacRenewalAllowed ) %] -
  • Please note: Since you have more than [% renewal_blocked_fines %] in fines, you cannot renew your books online. Please pay your fines if you wish to renew your books.
  • +
  • Please note: Since you have more than [% renewal_blocked_fines %] in fines, you cannot renew your books online. Please pay your fines if you wish to renew your books.
  • [% ELSIF ( renewal_blocked_fines ) %] -
  • Please note: You have more than [% renewal_blocked_fines %] in fines.
  • +
  • Please note: You have more than [% renewal_blocked_fines %] in fines.
  • [% END %]
[% END %] -- 2.39.5