From 722bc9380f7af41ff754845315180134a448647a Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 30 Jul 2019 13:48:02 +0000 Subject: [PATCH] Bug 23399: (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. Signed-off-by: Kyle M Hall --- .../prog/en/modules/circ/returns.tt | 104 +++++++++--------- 1 file changed, 52 insertions(+), 52 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt index c26c10999f..f93129d147 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -95,7 +95,7 @@ [% IF ( patron.gonenoaddress ) %]
  • Patron's address is in doubt
  • [% END %] - + [% IF ( transfertodo ) %]

    Transfer to: [% Branches.GetName( destbranch ) | html %]

    @@ -106,8 +106,8 @@ Print - - [% END %] + + [% END # /IF hold_auto_filled %] [% IF privacy == 2 AND NOT Koha.Preference('AnonymousPatron') %]
    @@ -202,15 +202,15 @@ [% Branches.GetName( rightbranch ) | html %]

    -
    + - - - - - [% END %] + + + + + [% END # /IF wrongbranch %] [% IF WrongTransfer && !transfertodo %] @@ -246,12 +246,12 @@ [% END %] - - - - - - [% END %] + + + + + + [% END # /IF WrongTransfer && !transfertodo %] [% IF ( found ) %] [% IF ( waiting ) %] @@ -322,7 +322,7 @@ - + - - - - - [% END %] + + + + + + [% END # /IF waiting %] [% IF ( diffbranch ) %] @@ -402,9 +402,9 @@ - - - [% END %] + + + [% END # /IF diffbranch %] [% IF transfer || needstransfer %] - - - - - [% END %] + + + + + + [% END # /IF transfer || needstransfer %] [% IF ( diffbranch ) %] @@ -481,7 +481,7 @@ - [% END %] + [% END # /IF diffbranch %] [% IF ( reserved ) %] @@ -496,7 +496,7 @@
    [% title | html %] @@ -589,13 +589,13 @@ - - - - - - [% END %] - [% END %] + + + + + + [% END #/IF reserved %] + [% END # /IF found %] [% IF ( errmsgloop ) %]
    @@ -697,9 +697,9 @@ [% IF errmsgloo.data_corrupted %]

    The item has not been checked in due to a configuration issue in your system. You must ask an administrator to take a look at the about page and search for the "data problems" section

    [% END %] - [% END %] -
    - [% END %] + [% END # /FOREACH errmsgloo %] + + [% END #/IF errmsgloop %] [% IF ( checkinmsg ) %] [% IF ( checkinmsgtype == 'alert' ) %] @@ -709,7 +709,7 @@ [% END %]

    [% checkinmsg | html_line_break %]

    - [% END%] + [% END # /IF checkinmsg %]
    @@ -788,7 +788,7 @@ [% END %] - + [% END %] [% IF ( CAN_user_updatecharges_writeoff && overduecharges ) %] @@ -909,19 +909,19 @@ [% IF ( riloo.patron.borrowernotes ) %] -

    [% riloo.patron.borrowernotes | html %]

    +

    [% riloo.patron.borrowernotes | html %]

    [% END %] [% IF ( riloo.itemnote ) %] -

    [% riloo.itemnote | html %]

    +

    [% riloo.itemnote | html %]

    [% END %] [% IF ( riloo.itemnotes_nonpublic ) %] -

    [% riloo.itemnotes_nonpublic | html %]

    +

    [% riloo.itemnotes_nonpublic | html %]

    [% END %] - [% END %] - - [% END %] + [% END # /FOREACH riloo %] + + [% END # /IF riloop %] [% IF Koha.Preference('CircSidebar') %] -- 2.20.1 (Apple Git-117)