From 8d898f1746bfb049950bd3928da1cce9c5c3c14d Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 21 May 2024 17:12:21 +0000 Subject: [PATCH] Bug 36911: (follow-up) Add 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: David Nind Signed-off-by: Katrin Fischer --- .../prog/en/includes/circ-menu.inc | 70 ++++++++++--------- 1 file changed, 38 insertions(+), 32 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc index 8753170959..8c2592c037 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc @@ -56,10 +56,10 @@ [% END %] - [% END %] - + [% END # /IF patron.image %] + - [% END %] + [% END # /IF patronimages %]
    [% IF patron.pronouns %] @@ -84,7 +84,7 @@ [% END %] [% END %] - [% END %] + [% END # /IF phones %] [% IF ( patron.email ) %] [% END %] - [% END %] + [% END # /IF emails %] [% IF ( patron.dateofbirth ) %]
  • Born: @@ -119,7 +119,7 @@
  • No date of birth stored.
  • [% END %] - [% END %] + [% END # /IF HidePersonalPatronDetailOnCirculation %] [% IF Koha.Preference('ExtendedPatronAttributes') %] [% FOREACH extendedattribute IN patron.extended_attributes %] @@ -132,18 +132,24 @@ [% ELSE %] [% extendedattribute.description | html %] [% END %] - + [% END %] - [% END %] - [% END %] - [% END %] + [% END # /IF display_checkout %] + [% END # /FOREACH extendedattribute %] + [% END # /IF ExtendedPatronAttributes %]
  • Category: [% patron.category.description | html %] ([% patron.categorycode | html %])
  • -
  • Home library: [% Branches.GetName( patron.branchcode ) | html %]
  • -
  • Borrowernumber: [% patron.borrowernumber | html %]
  • -
  • Updated on [% patron.updated_on | $KohaDates with_hours => 1 %]
  • +
  • + Home library: [% Branches.GetName( patron.branchcode ) | html %] +
  • +
  • + Borrowernumber: [% patron.borrowernumber | html %] +
  • +
  • + Updated on [% patron.updated_on | $KohaDates with_hours => 1 %] +
  • [% IF patron.account_locked %] [% IF patron.login_attempts < 0 %] @@ -151,8 +157,8 @@ [% END %] [% END %] -
- + + + + +
Take patron photo
@@ -309,7 +315,7 @@
-
+
@@ -324,8 +330,8 @@ - - + + + [% ELSE %]

The patron must have a card number before a patron photo can be uploaded.

- [% END %] - + [% END # /IF patron.cardnumber %] + - - - - [% END %] + + + + [% END # /IF patronimages %] -[% END %] +[% END # /IF patron.borrowernumber %] -- 2.39.5