From a6a45fbf2ca181010fcc5e4966f9bddcdae5b8e0 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 30 Aug 2019 15:10:12 +0000 Subject: [PATCH] Bug 23512: (follow-up) Markup comments and corrections This patch adds comments to the template to highlight the markup structure. It also corrects some minor markup errors. This patch should have no effect on the interface or functionality. --- .../intranet-tmpl/prog/en/modules/tools/letter.tt | 44 +++++++++++----------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt index f7392809d8e..c394f802199 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt @@ -71,9 +71,9 @@ - - - + + + [% IF add_form or copy_form %]
@@ -99,7 +99,7 @@

[% END %] - +
@@ -118,7 +118,7 @@
-
+
[% IF ( search ) %]

You searched for [% searchfield | html %]

@@ -188,7 +188,7 @@ [% END %] - [% END %] + [% END # /IF !independent_branch %] [% IF can_edit %] @@ -199,10 +199,10 @@ [% END %] - [% END %] + [% END # /FOREACH lette %] - - [% ELSE %] + + [% ELSE # IF lette %]
[% IF ( branchcode ) %]

There are no notices for this library.

@@ -210,8 +210,8 @@

There are no notices.

[% END %]
- [% END %] - [% END %] + [% END # /IF lette %] + [% END # /IF no_op_set %] [% IF add_form or copy_form %]

[% IF ( modify ) %]Modify notice[% ELSE %]Add notice[% END %]

@@ -227,7 +227,7 @@ Cancel - +
[% IF add_form %] @@ -268,7 +268,7 @@ [% END %] [% END %] - [% END %] + [% END # /IF independant_branch %]
  • @@ -359,9 +359,9 @@ Not supported yet. [% END %]
  • - [% END %] + [% END # /IF code %] - + [% IF Koha.Preference('TranslateNotices') %]
    @@ -378,7 +378,7 @@ [% END %] [% END %] - [% END %] + [% END # /IF TranslateNotices %] [% FOREACH lang IN letters.keys %]
    @@ -453,11 +453,11 @@ [% END %] - - [% END %] + + [% END # /FOR mtt %]
    - [% END %] + [% END # /FOREACH lang %] [% IF Koha.Preference('TranslateNotices') %] @@ -466,8 +466,8 @@ -
    - [% END %] + + [% END # /IF add_form %] [% IF ( add_validate or copy_validate) %] Data recorded @@ -507,7 +507,7 @@ - [% END %] + [% END # /IF delete_confirm %] [% IF ( delete_confirmed ) %] Data deleted -- 2.11.0