X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=koha-tmpl%2Fopac-tmpl%2Fprog%2Fen%2Fmodules%2Fopac-user.tt;h=9729c7c8784a14ee3b90c391faf1bd724f4187fd;hb=b20c2d6857629eed3f3eaf44cdca68dda36f4216;hp=92bd44d241f81a26eb3528a3fdd3502ae98ca232;hpb=bd73c9f9ce8d161a1ed0f2e1205e5c0c8eecb0ae;p=koha.git 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 92bd44d241..9729c7c878 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt @@ -1,12 +1,12 @@ +[% USE KohaDates %] + [% INCLUDE 'doc-head-open.inc' %] -[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha Online[% END %] Catalog › Library Home for -[% FOREACH BORROWER_INF IN BORROWER_INFO %] - [% BORROWER_INF.firstname %] [% BORROWER_INF.surname %] -[% END %] +[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Your library home [% INCLUDE 'doc-head-close.inc' %] +[% INCLUDE 'calendar.inc' %] - @@ -39,15 +58,14 @@ $.tablesorter.addParser({
- [% IF ( bor_messages ) %]
-

Messages For You

+

Messages for you

    [% FOREACH bor_messages_loo IN bor_messages_loop %]
  • [% bor_messages_loo.message %]
    -    Written on [% bor_messages_loo.message_date_formatted %] by [% bor_messages_loo.branchname %] +    Written on [% bor_messages_loo.message_date | $KohaDates %] by [% bor_messages_loo.branchname %]
  • [% END %] @@ -56,32 +74,43 @@ $.tablesorter.addParser({
[% END %] [% FOREACH BORROWER_INF IN BORROWER_INFO %] -

Hello, [% BORROWER_INF.firstname %] [% BORROWER_INF.surname %] (Click here if you're not [% BORROWER_INF.title %] [% BORROWER_INF.firstname %] [% BORROWER_INF.surname %])

+

Hello, [% INCLUDE 'patron-title.inc' category_type = BORROWER_INF.category_type firstname = BORROWER_INF.firstname surname = BORROWER_INF.surname othernames = BORROWER_INF.othernames cardnumber = BORROWER_INF.cardnumber %] + (Click here if you're not + [% BORROWER_INF.title %] [% INCLUDE 'patron-title.inc' category_type = BORROWER_INF.category_type firstname = BORROWER_INF.firstname surname = BORROWER_INF.surname othernames = BORROWER_INF.othernames cardnumber = BORROWER_INF.cardnumber %]) +

[% 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 %] +
+ [% END %] - [% IF ( BORROWER_INF.flagged ) %] + [% IF ( patron_flagged ) %]
    - [% IF ( BORROWER_INF.debarred ) %] -
  • Please note: Your account has been frozen. 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.
  • + [% 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.
  • [% 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 ( BORROWER_INF.renewal_blocked_fines ) %] -
  • Please note: Since you have more than [% BORROWER_INF.renewal_blocked_fines %] in fines, you cannot renew your books online. Please pay your fines if you wish to renew your books.
  • + [% 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.
  • + [% ELSIF ( renewal_blocked_fines ) %] +
  • Please note: You have more than [% renewal_blocked_fines %] in fines.
  • [% END %]
[% END %]
    -
  • Checked Out
  • +
  • Checked out
  • [% IF ( overdues_count ) %]
  • Overdue
  • [% END %] [% IF ( OPACFinesTab ) %] [% IF ( BORROWER_INF.amountoverfive ) %]
  • Fines
  • [% END %] @@ -95,7 +124,7 @@ $.tablesorter.addParser({ [% IF ( OPACFinesTab ) %] [% IF ( BORROWER_INF.amountoverfive ) %] -

    Fines and Charges

    +

    Fines and charges

    @@ -106,7 +135,7 @@ $.tablesorter.addParser({ [% END %] [% IF ( BORROWER_INF.amountoverzero ) %] -

    Fines and Charges

    +

    Fines and charges

    Amount
    @@ -129,11 +158,11 @@ $.tablesorter.addParser({ [% IF ( atdestination ) %]
    Amount
    You currently owe fines and charges amounting to:
    - + - + [% FOREACH WAITIN IN WAITING %] @@ -143,7 +172,7 @@ $.tablesorter.addParser({ [% WAITIN.author %] - + [% IF ( JacketImages ) %][% END %] -[% UNLESS ( item_level_itypes ) %] [% END %] +[% UNLESS ( item_level_itypes ) %] [% END %] [% IF ( show_barcode ) %][% END %] - + [% IF ( OpacRenewalAllowed ) %] - [% UNLESS ( patron_flagged ) %][% END %][% END %] + +[% END %] [% IF ( OPACFinesTab ) %] [% END %] @@ -285,9 +311,9 @@ $.tablesorter.addParser({ [% IF ( SyndeticsCoverImages ) %] [% IF ( using_https ) %] - + [% ELSE %] - + [% END %] [% END %] [% END %] @@ -297,17 +323,16 @@ $.tablesorter.addParser({ [% UNLESS ( item_level_itypes ) %][% END %] [% IF ( show_barcode ) %][% END %] - + [% IF ( OpacRenewalAllowed ) %] - [% UNLESS ( OVERDUE.patron_flagged ) %] [% END %][% END %] +[% END %] [% IF ( OPACFinesTab ) %] [% END %] @@ -324,9 +349,9 @@ $.tablesorter.addParser({ - - - + + + [% IF ( showpriority ) %] [% END %] @@ -351,8 +376,8 @@ $.tablesorter.addParser({ - - + + [% IF ( showpriority ) %] @@ -361,7 +386,7 @@ $.tablesorter.addParser({ [% IF ( RESERVE.wait ) %] [% IF ( RESERVE.atdestination ) %] [% IF ( RESERVE.found ) %] - Item waiting at [% RESERVE.wbrname %][% IF ( RESERVE.formattedwaitingdate ) %] since [% RESERVE.formattedwaitingdate %][% END %] + Item waiting at [% RESERVE.wbrname %][% IF ( RESERVE.waitingdate ) %] since [% RESERVE.waitingdate | $KohaDates %][% END %] [% ELSE %] Item waiting to be pulled from [% RESERVE.wbrname %] @@ -372,7 +397,9 @@ $.tablesorter.addParser({ [% ELSE %] [% IF ( RESERVE.intransit ) %] Item in transit from [% RESERVE.frombranch %] since - [% RESERVE.datesent %] + [% RESERVE.datesent | $KohaDates %] + [% ELSIF ( RESERVE.suspend ) %] + Suspended [% IF ( RESERVE.suspend_until ) %] until [% RESERVE.suspend_until %] [% END %] [% ELSE %] Pending [% END %] @@ -385,14 +412,66 @@ $.tablesorter.addParser({ [% ELSE %] -   [% END %] + [% END %]
    Holds WaitingHolds waiting
    Title Hold datePick Up LibraryPick up library
    [% WAITIN.reservedate %][% WAITIN.reservedate | $KohaDates %] [% IF ( WAITIN.atdestination ) %]Waiting at [% WAITIN.branch %] [% ELSE %] In transit from [% WAITIN.holdingbranch %] to [% WAITIN.branch %] @@ -155,20 +184,20 @@ $.tablesorter.addParser({ [% END %]
    [% IF ( issues_count ) %] -
    + - + [% IF ( JacketImages ) %][% END %] - [% UNLESS ( item_level_itypes ) %] [% END %] + [% UNLESS ( item_level_itypes ) %] [% END %] [% IF ( show_barcode ) %][% END %] [% IF ( OpacRenewalAllowed ) %] - [% UNLESS ( patron_flagged ) %][% END %] + [% END %] [% IF ( OPACFinesTab ) %] @@ -198,9 +227,9 @@ $.tablesorter.addParser({ [% IF ( BakerTaylorEnabled ) %][% IF ( ISSUE.normalized_isbn ) %]See Baker & Taylor[% ELSE %]No cover image available[% END %][% END %] [% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsCoverImages ) %][% IF ( using_https ) %] - + [% ELSE %] -[% END %][% END %][% END %] +[% END %][% END %][% END %] [% END %] @@ -208,20 +237,18 @@ $.tablesorter.addParser({ [% ISSUE.author %] [% IF ( ISSUE.overdue ) %] - + [% ELSE %] - + [% END %] [% UNLESS ( item_level_itypes ) %][% END %] [% IF ( show_barcode ) %][% END %] [% IF ( OpacRenewalAllowed ) %] - [% UNLESS ( ISSUE.patron_flagged ) %] - - [% END %] [% END %] [% IF ( OPACFinesTab ) %] @@ -232,20 +259,18 @@ $.tablesorter.addParser({ [% END %]
    [% issues_count %] Item(s) Checked Out[% issues_count %] Item(s) checked out
     Title DueItem TypeItem typeBarcodeCall No.RenewRenewFines[% ISSUE.date_due %][% ISSUE.date_due | $KohaDates %][% ISSUE.date_due %][% ISSUE.date_due | $KohaDates %][% IF ( ISSUE.imageurl ) %][% ISSUE.description %][% END %] [% ISSUE.description %][% ISSUE.barcode %][% ISSUE.itemcallnumber %][% IF ( ISSUE.status ) %]Renew ([% ISSUE.renewsleft %] of [% ISSUE.renewsallowed %] renewals remaining) + [% IF ( ISSUE.status ) %][% IF ( canrenew ) %] Renew[% END %] ([% ISSUE.renewsleft %] of [% ISSUE.renewsallowed %] renewals remaining) [% ELSE %] Not renewable[% IF ( ISSUE.too_many ) %] ([% ISSUE.renewsleft %] of [% ISSUE.renewsallowed %] renewals remaining)[% ELSE %][% IF ( ISSUE.on_reserve ) %] (On hold)[% END %][% END %] [% END %][% IF ( ISSUE.charges ) %]Yes[% ELSE %]No[% END %]
    - - [% IF ( OpacRenewalAllowed ) %] + [% IF ( canrenew && !userdebarred && OpacRenewalAllowed ) %] [% END %]
    - [% IF ( OpacRenewalAllowed ) %] - -
    + [% IF ( canrenew && !userdebarred && OpacRenewalAllowed ) %] + [% FOREACH ISSUE IN ISSUES %] [% END %] - [% UNLESS ( patron_flagged ) %][% END %] +
    [% END %] [% ELSE %] @@ -262,12 +287,13 @@ $.tablesorter.addParser({
     TitleItem TypeItem typeBarcodeCall No.Call no. DueRenewRenewFines[% IF ( OVERDUE.imageurl ) %][% OVERDUE.description %][% END %] [% OVERDUE.description %][% OVERDUE.barcode %][% OVERDUE.itemcallnumber %][% OVERDUE.date_due %][% OVERDUE.date_due | $KohaDates %] -[% IF ( OVERDUE.debarred ) %]Account Frozen +[% IF ( OVERDUE.debarred ) %]Account frozen [% ELSIF ( OVERDUE.status ) %] -Renew ([% OVERDUE.renewsleft %] of [% OVERDUE.renewsallowed %] renewals remaining) -[% ELSIF ( OVERDUE.onreserve ) %]On Reserve +[% IF ( canrenew ) %]Renew[% END %] ([% OVERDUE.renewsleft %] of [% OVERDUE.renewsallowed %] renewals remaining) +[% ELSIF ( OVERDUE.onreserve ) %]On hold [% ELSE %]No renewals left [% END %] -[% IF ( OVERDUE.charges ) %]Yes[% ELSE %]No[% END %]
    TitlePlaced OnExpires OnPick Up LocationPlaced onExpires onPick up locationPriority[% RESERVE.reserves_title %] [% RESERVE.author %] [% RESERVE.reservedate %][% IF ( RESERVE.expirationdate ) %][% RESERVE.expirationdate %][% ELSE %]Never Expires[% END %][% RESERVE.reservedate | $KohaDates %][% IF ( RESERVE.expirationdate ) %][% RESERVE.expirationdate | $KohaDates %][% ELSE %]Never expires[% END %] [% RESERVE.branch %][% RESERVE.priority %]
    + +
    +
    + + + + [% IF AutoResumeSuspendedHolds %] + + + + Clear date

    + [% END %] +
    +
    +
    +
    + + +
    +
    [% END %]
    @@ -402,8 +481,7 @@ $.tablesorter.addParser({
-[% INCLUDE 'navigation.inc' %] -[% INCLUDE 'usermenu.inc' %] +[% INCLUDE 'navigation.inc' IsPatronPage=1 %]