From 75b6d4c1f1605578a4f1d1b7694d8595fea89c3d Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Thu, 18 May 2023 11:36:46 +0000 Subject: [PATCH] Bug 33762: Fix page-section in ILL Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi --- .../prog/en/modules/ill/ill-requests.tt | 232 +++++++++--------- 1 file changed, 112 insertions(+), 120 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt index 4064f35d9d..53eecd92cd 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt @@ -598,91 +598,87 @@ ILL request log -
-
-

Request details

-
-
-

Details from library

-
-
    -
  1. - Order ID: - [% IF request.orderid %][% request.orderid | html %][% ELSE %]N/A[% END %] -
  2. -
  3. - Patron: - [% borrowerlink = "/cgi-bin/koha/members/moremember.pl" _ "?borrowernumber=" _ request.patron.borrowernumber %] - - [% request.patron.firstname _ " " _ request.patron.surname _ " [" _ request.patron.cardnumber _ "]" | html %] - -
  4. +
    +

    Request details

    +

    Details from library

    +
    +
      +
    1. + Order ID: + [% IF request.orderid %][% request.orderid | html %][% ELSE %]N/A[% END %] +
    2. +
    3. + Patron: + [% borrowerlink = "/cgi-bin/koha/members/moremember.pl" _ "?borrowernumber=" _ request.patron.borrowernumber %] + + [% request.patron.firstname _ " " _ request.patron.surname _ " [" _ request.patron.cardnumber _ "]" | html %] + +
    4. -
    5. - Bibliographic record ID: - [% IF request.biblio_id %] - [% request.biblio_id | html %] - [% ELSE %] - N/A - [% END %] -
    6. -
    7. - Library: - [% Branches.GetName(request.branchcode) | html %] -
    8. -
    9. - Status: - [% IF request.statusalias %] - [% request.statusalias.lib | html %] - [% ELSE %] - [% request.capabilities.$req_status.name | html%] - [% IF request.requested_partners.length > 0 %] - ([% request.requested_partners | html %]) - [% END %] +
    10. + Bibliographic record ID: + [% IF request.biblio_id %] + [% request.biblio_id | html %] + [% ELSE %] + N/A + [% END %] +
    11. +
    12. + Library: + [% Branches.GetName(request.branchcode) | html %] +
    13. +
    14. + Status: + [% IF request.statusalias %] + [% request.statusalias.lib | html %] + [% ELSE %] + [% request.capabilities.$req_status.name | html%] + [% IF request.requested_partners.length > 0 %] + ([% request.requested_partners | html %]) [% END %] -
    15. -
    16. - Last updated: - [% request.updated | $KohaDates with_hours => 1 %] -
    17. -
    18. - Request type: - [% type = request.get_type %] - [% IF type %][% type | html %][% ELSE %]N/A[% END %] -
    19. -
    20. - Cost: - [% IF request.cost %][% request.cost | $Price %][% ELSE %]N/A[% END %] -
    21. -
    22. - Price paid: - [% IF request.price_paid %][% request.price_paid | $Price %][% ELSE %]N/A[% END %] -
    23. -
    24. - Request number: - [% request.id_prefix _ request.illrequest_id | html %] -
    25. -
    26. - Staff notes: -

      [% request.notesstaff | html %]

      -
    27. -
    28. - Notes: -

      [% request.notesopac | html %]

      -
    29. -
    -
    -
    -

    Details from supplier ([% request.backend | html %])

    -
      - [% FOREACH meta IN request.metadata %] -
    1. - [% meta.key | html %]: - [% meta.value | html %] -
    2. [% END %] -
    -
    + +
  5. + Last updated: + [% request.updated | $KohaDates with_hours => 1 %] +
  6. +
  7. + Request type: + [% type = request.get_type %] + [% IF type %][% type | html %][% ELSE %]N/A[% END %] +
  8. +
  9. + Cost: + [% IF request.cost %][% request.cost | $Price %][% ELSE %]N/A[% END %] +
  10. +
  11. + Price paid: + [% IF request.price_paid %][% request.price_paid | $Price %][% ELSE %]N/A[% END %] +
  12. +
  13. + Request number: + [% request.id_prefix _ request.illrequest_id | html %] +
  14. +
  15. + Staff notes: +

    [% request.notesstaff | html %]

    +
  16. +
  17. + Notes: +

    [% request.notesopac | html %]

    +
  18. +
+
+
+

Details from supplier ([% request.backend | html %])

+
    + [% FOREACH meta IN request.metadata %] +
  1. + [% meta.key | html %]: + [% meta.value | html %] +
  2. + [% END %] +
@@ -734,45 +730,41 @@
-
-
-

[% request.illcomments.count | html %] comments

-
-
- [% IF request.illcomments.count && request.illcomments.count > 0 %] - [% FOREACH comment IN request.illcomments %] -
-
Comment by: - - [% comment.patron.firstname _ " " _ comment.patron.surname _ " [" _ comment.patron.cardnumber _ "]" | html %] - [% comment.timestamp | $KohaDates with_hours => 1 %]
-

[% comment.comment | html %]

-
- [% END %] +
+

[% request.illcomments.count | html %] comments

+ [% IF request.illcomments.count && request.illcomments.count > 0 %] + [% FOREACH comment IN request.illcomments %] +
+
Comment by: + + [% comment.patron.firstname _ " " _ comment.patron.surname _ " [" _ comment.patron.cardnumber _ "]" | html %] + [% comment.timestamp | $KohaDates with_hours => 1 %]
+

[% comment.comment | html %]

+
[% END %] -
-

Add comment

-
-
- - - -
-
    -
  1. - - - Required -
  2. -
-
-
- -
-
-
+ [% END %] +
+

Add comment

+
+
+ + + +
+
    +
  1. + + + Required +
  2. +
+
+
+ +
+
-
+
[% ELSIF query_type == 'illlist' %] @@ -785,7 +777,7 @@ [% ELSIF query_type == 'availability' %]

Availability

-
+

Displaying availability results

[% FOREACH key IN whole.keys %] -- 2.39.5