From 4fed033c9d999396337660927235c915e07c07b3 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 29 Mar 2022 16:37:22 +0000 Subject: [PATCH] Bug 30398: (follow-up) Add markup comments MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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: Séverine Queune Signed-off-by: Kyle M Hall Signed-off-by: Fridolin Somers --- .../prog/en/modules/acqui/invoices.tt | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt index 0edb5427cb..f57a9ca11a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt @@ -105,19 +105,19 @@ [% IF CAN_user_acquisition_edit_invoices %]
  • Close
  • [% END %] - [% END %] + [% END # /IF invoice.closedate %] [% UNLESS invoice.receivedbiblios || invoice.receiveditems %] [% IF CAN_user_acquisition_delete_invoices %]
  • Delete
  • [% END %] [% END %] - + - [% END %] + [% END # /FOREACH invoice %] - + [% IF CAN_user_acquisition_merge_invoices %] [% IF tab == 'closed' %] @@ -126,9 +126,9 @@ [% ELSE %] Merge selected invoices Close selected invoices - [% END %] - [% END %] - [% END %] + [% END # /IF tab == 'closed' %] + [% END # /IF CAN_user_acquisition_merge_invoices %] + [% END # /BLOCK invoices_table %]
      @@ -143,7 +143,7 @@

      Your search returned no open invoices.

    [% END %] - +
    [% IF closedinvoices %] [% INCLUDE invoices_table invoices = closedinvoices closed = 1 %] @@ -152,8 +152,8 @@

    Your search returned no closed invoices.

    [% END %] - - + +
    @@ -217,10 +217,10 @@ - - -
    - [% ELSE %] + + + + [% ELSE # IF invoices %]

    Sorry, but there are no results for your search.

    Search was:

      @@ -286,7 +286,7 @@ [% END %]

    - [% END %] + [% END # /IF invoices %] [% ELSE %]

    Use the search form on the left to find invoices.

    [% END %] @@ -383,7 +383,7 @@
    - + [% INCLUDE 'acquisitions-menu.inc' %] -- 2.39.5