X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=koha-tmpl%2Fintranet-tmpl%2Fprog%2Fen%2Fmodules%2Freserve%2Frequest.tt;h=8e8470bd230e191f7a8e92bef88bf4d9431b6657;hb=068e5be6395088793aeab66d67c36c2b9da2c5d9;hp=2c392b0770ff0f8d8a45f455c1d00c9b04088eb5;hpb=6073bd86e24494cd12125a4cd47772c672bbd4a5;p=koha.git diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt index 2c392b0770..8e8470bd23 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -1,8 +1,9 @@ +[% USE KohaDates %] [% INCLUDE 'doc-head-open.inc' %] [% UNLESS ( multi_hold ) %] Koha › Circulation › Holds › Place a hold on [% title |html %] [% ELSE %] - Koha › Circulation › Holds › Confirm Holds + Koha › Circulation › Holds › Confirm holds [% END %] [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'calendar.inc' %] @@ -93,7 +94,7 @@ function checkMultiHold() { $(document).ready(function() { $("input.needsoverride").click(function() { // This must be before the radio button/checkbox switch logic var itemnumber = this.value; - var msg; + var msg = ''; switch (override_items[itemnumber].holdallowed) { case 0: msg = _( 'This item normally cannot be put on hold.' ); break; @@ -110,7 +111,7 @@ function checkMultiHold() { $("#requestany").click(function() { if(this.checked){ $("input[name=checkitem]").each(function() { - $(this).attr("checked",""); + $(this).removeAttr("checked"); }); } }); @@ -122,24 +123,26 @@ function checkMultiHold() { } }); if(onechecked == 1){ - $("#requestany").attr("checked",""); + $("#requestany").removeAttr("checked"); } else { $("#requestany").attr("checked","checked"); } }); + + $('#hold-request-form').preventDoubleFormSubmit(); }); // ]]> - + [% INCLUDE 'header.inc' %] [% INCLUDE 'circ-search.inc' %] [% UNLESS ( multi_hold ) %] [% ELSE %] - + [% END %]
@@ -169,9 +172,9 @@ function checkMultiHold() {

Confirm Holds

[% END %] - [% UNLESS ( cardnumber ) %] + [% UNLESS ( borrowernumber ) %] [% IF ( messageborrower ) %] -

Patron Not Found

No patron with this name, Please, try another

+

Patron Not Found

No patron with this name, please, try another

[% END %]
[% UNLESS ( CGIselectborrower ) %] @@ -199,7 +202,7 @@ function checkMultiHold() {
[% UNLESS ( multi_hold ) %] -

Cannot Place Hold

+

Cannot place hold

[% ELSE %] -

Cannot Place Hold on Some Items

+

Cannot place hold on some items

[% END %]
@@ -238,12 +241,12 @@ function checkMultiHold() {
Hold details [% UNLESS ( multi_hold ) %] - + [% ELSE %] [% END %] - + [% IF ( multi_hold ) %] @@ -262,7 +265,7 @@ function checkMultiHold() { [% END %]
  1. Patron: - [% IF ( cardnumber ) %] + [% IF ( borrowernumber ) %] [% borrowerfirstname %] [% borrowersurname %] ([% cardnumber %]) [% ELSE %] Not defined yet @@ -287,7 +290,7 @@ function checkMultiHold() {
  2. - Show Calendar + Show calendar + Clear Date
  3. [% END %]
  4. - Show Calendar + Show calendar - Clear Date + Clear date
  5. [% UNLESS ( multi_hold ) %] @@ -357,13 +361,13 @@ function checkMultiHold() {
[% UNLESS ( multi_hold ) %]
- [% IF ( cardnumber ) %] + [% IF ( borrowernumber ) %] [% IF ( override_required ) %] - + [% ELSIF ( none_available ) %] - + [% ELSE %] - + [% END %] [% END %]
@@ -384,10 +388,13 @@ function checkMultiHold() { Item type [% END %] Barcode - Home Library - Last Location + Home library + Last location Call no. Copy no. + [% IF itemdata_enumchron %] + Vol no. + [% END %] Information [% FOREACH itemloo IN bibitemloo.itemloop %] @@ -398,10 +405,10 @@ function checkMultiHold() { [% ELSIF ( itemloo.override ) %] - Requires override of hold policy + Requires override of hold policy [% ELSE %] - Cannot be put on hold + Cannot be put on hold [% END %] [% IF ( item_level_itypes ) %] @@ -426,6 +433,11 @@ function checkMultiHold() { [% itemloo.itemcallnumber %] [% IF ( itemloo.copynumber ) %][% itemloo.copynumber %][% ELSE %] [% END %] + [% IF itemdata_enumchron %] + + [% itemloo.enumchron %] + + [% END %] [% IF ( itemloo.onloan ) %] Due [% itemloo.date_due %] @@ -464,7 +476,7 @@ function checkMultiHold() { [% IF ( bibitemloo.hiddencount ) %] -

Show all items ([% bibitemloo.hiddencount %] hidden)

+

Show all items ([% bibitemloo.hiddencount %] hidden)

[% END %] [% END %] @@ -475,7 +487,7 @@ function checkMultiHold() { Title [% UNLESS ( item_level_itypes ) %] - Item Type + Item type [% END %] Priority Information @@ -515,7 +527,7 @@ function checkMultiHold() { [% END %] [% IF ( biblioloo.alreadyres ) %] -
  • [% biblioloo.borrowerfirstname %] [% biblioloo.borrowersurname %] already has a hold on this item
  • +
  • [% borrowerfirstname %] [% borrowersurname %] already has a hold on this item
  • [% END %] [% IF ( biblioloo.none_avail ) %]
  • No copies are available to be placed on hold
  • @@ -537,13 +549,13 @@ function checkMultiHold() { [% END %]
    - [% IF ( cardnumber ) %] + [% IF ( borrowernumber ) %] [% IF ( override_required ) %] - + [% ELSIF ( none_available ) %] - + [% ELSE %] - + [% END %] [% END %]
    @@ -551,7 +563,7 @@ function checkMultiHold() {
    [% END %] -[% UNLESS ( cardnumber ) %] +[% UNLESS ( borrowernumber ) %] [% IF ( reserveloop ) %]
    [% IF ( multi_hold ) %] @@ -566,7 +578,7 @@ function checkMultiHold() { [% IF ( biblioloo.reserveloop ) %] - [% IF ( biblioloo.multi_hold ) %] + [% IF ( multi_hold ) %] [% END %] @@ -580,12 +592,13 @@ function checkMultiHold() { - + [% IF ( CAN_user_reserveforothers_modify_holds_priority ) %] - + [% END %] + [% IF SuspendHoldsIntranet %][% END %] [% FOREACH reserveloo IN biblioloo.reserveloop %] [% UNLESS ( loop.odd ) %][% ELSE %][% END %] @@ -610,19 +623,19 @@ function checkMultiHold() { [% IF ( CAN_user_reserveforothers_modify_holds_priority ) %] [% END %] @@ -630,7 +643,7 @@ function checkMultiHold() { [% END %] + [% IF SuspendHoldsIntranet %] + + [% END # IF SuspendHoldsIntranet %] + [% END %]
    [% biblioloo.title |html %]
    Notes Date ExpirationPick up LibraryPick up library DetailsToggle Set to Lowest PriorityToggle set to lowest priority  
    - Go up + Go up - - Go top + + Go top - - Go bottom + + Go bottom - - Go down + + Go down [% IF ( reserveloo.hidename ) %] - [% reserveloo.cardnumber %] + [% reserveloo.cardnumber (reserveloo.borrowernumber) %] [% ELSE %] [% reserveloo.firstname %] [% reserveloo.surname %] [% END %] @@ -642,7 +655,7 @@ function checkMultiHold() { [% IF ( reserveloo.wait ) %] [% IF ( reserveloo.atdestination ) %] - [% IF ( reserveloo.found ) %] + [% IF ( reserveloo.found ) %] Item waiting at [% reserveloo.wbrname %] [% ELSE %] Waiting to be pulled @@ -671,7 +684,7 @@ function checkMultiHold() { [% reserveloo.barcodenumber %] [% ELSE %] - No Barcode + No barcode [% END %] [% ELSE %] @@ -683,7 +696,7 @@ function checkMultiHold() { [% reserveloo.barcodenumber %] [% ELSE %] - No Barcode + No barcode [% END %] @@ -701,22 +714,63 @@ function checkMultiHold() { [% IF ( CAN_user_reserveforothers_modify_holds_priority ) %] - + [% IF ( reserveloo.lowestPriority ) %] - Unset Lowest Priority + Unset Lowest Priority [% ELSE %] - Set To Lowest Priority + Set To Lowest Priority [% END %] - - Cancel + + Cancel + [% UNLESS ( reserveloo.wait ) %] + + + [% IF AutoResumeSuspendedHolds %] + + + Show calendar + + Clear Date + [% END %] + [% ELSE %] + + [% END %] +