From bbec1228b62c81c0fa9e4a330cd4b28aed27ca99 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 25 Jan 2023 16:38:01 +0000 Subject: [PATCH] Bug 31932: (follow-up) Markup comments This patch adds comments to the template to highlight the markup structure. This patch should have no effect on the page's appearance or functionality. Signed-off-by: Martin Renvoize Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- .../prog/en/modules/acqui/basket.tt | 88 +++++++++---------- 1 file changed, 44 insertions(+), 44 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt index 6bbd74a044..4154ba2fbb 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt @@ -115,8 +115,8 @@ [% END %] - - [% END %] + + [% END # / UNLESS ( delete_confirmed ) %] - [% END %] - - - + + [% END # /UNLESS book_foot_loop %] + + + - [% ELSE %] + [% ELSE # UNLESS ( closedate ) %]
[% IF grouped %]
@@ -183,8 +183,8 @@ [% PROCESS csv_export %] [% END %]
- [% END %] - [% END %] + [% END # /UNLESS ( closedate ) %] + [% END # /UNLESS ( selectbasketg ) %] [% IF ( NO_BOOKSELLER ) %]

Vendor not found

@@ -214,8 +214,8 @@ Go back to vendor page [% ELSE %] Show baskets for vendor [% booksellername | html %] Show all active baskets - [% END %] - [% ELSE %] + [% END # /IF (cannotdelbiblios) %] + [% ELSE # IF ( delete_confirmed ) %] [% FOR m IN messages %]
@@ -232,7 +232,7 @@ ERROR! - [% m.code | html %] [% END %]
- [% END %] + [% END # /FOR m %]

[% UNLESS ( basketno ) %]New [% END %]Basket [% basketname | html %] ([% basketno | html %]) for [% booksellername | html %]

@@ -283,7 +283,7 @@ - +
  • Managing library: [% IF basketbranchcode %] @@ -293,7 +293,7 @@ No library Set library [% END %] -
  • + [% IF branches_loop.size %]
    - - [% END %] + + [% END # /IF branches_loop.size %] [% INCLUDE 'additional-fields-display.inc' available=available_additional_fields values=additional_field_values %] @@ -436,7 +436,7 @@ - [% END %] + [% END # /IF ( basketno ) %] [% IF ( duplinbatch ) %]
    @@ -688,8 +688,8 @@ [% END %] - - [% END %] + + [% END # / IF ( books_loop ) %] [% IF ( listincgst ) %]** Vendor's listings already include tax.[% END %]
    @@ -774,11 +774,11 @@ [% order.tax_value | $Price %] [% order.budget_name | html %] - [% END %] + [% END # /FOREACH order %] - + - [% END %] + [% END # /IF (cancelledorders_loop) %]
    [% UNLESS ( closedate ) %] @@ -800,14 +800,14 @@ - - [% END %] + + [% END # /UNLESS ( closedate ) %] - [% END %] - [% END %] + [% END # /IF ( delete_confirmed ) %] + [% END # /IF ( NO_BOOKSELLER ) %] [% ELSE %] - [% END %] + [% END #/IF !confirm_close && !edi_confirm %] [% IF ( confirm_close ) %]
    @@ -816,8 +816,8 @@

    Are you sure you want to close basket [% basketname | html %]?

    [% IF ( CAN_user_acquisition_group_manage ) %]

    - - + +

    [% END %] @@ -832,7 +832,7 @@
    - [% END %] + [% END # /IF ( confirm_close ) %] [% IF edi_confirm %]
    @@ -856,9 +856,9 @@ -
    - [% END %] - [% END %][%# IF (cannot_manage_basket) %] + + [% END # /IF edi_confirm %] + [% END # /IF (cannot_manage_basket) %] @@ -890,10 +890,10 @@ - - - - + + + + - - - - + + + + [% MACRO jsinclude BLOCK %] [% Asset.js("js/acquisitions-menu.js") | $raw %] @@ -1064,8 +1064,8 @@ } } - [% END %] - [% END %] + [% END # /UNLESS grouped %] + [% END # /UNLESS (closedate) %]