From 28a6d14f009dd5830fa106c79cebf26e6df9980e Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 26 Jul 2023 16:40:39 +0000 Subject: [PATCH] Bug 34422: (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: Matt Blenkinsop Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- .../intranet-tmpl/prog/en/includes/facets.inc | 23 ++++++++++--------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc index 170961c3e2..31e5de73b5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc @@ -21,10 +21,10 @@ [% search_filter.name | html %] [% END %] - [% END %] + [% END # /FOREACH search_filter %] - [% END %] + [% END # /IF SavedSearchFilters %]
  • Availability [% IF ( related ) %] @@ -43,7 +44,7 @@ (related searches: [% FOREACH relate IN related %][% relate.related_search | html %][% END %])
  • [% END %] - + [% FOREACH facets_loo IN facets_loop %] [% IF facets_loo.facets.size > 0 %] @@ -112,9 +113,9 @@ [% IF ( displayFacetCount ) %] ([% facet.facet_count | html %]) [% END %] - [% END %] + [% END # /IF facet.active %] - [% END %] + [% END # /FOREACH facet %] [% IF facets_loo.facets.size > 5 %]
  • Show more @@ -125,9 +126,9 @@ [% END %]
  • - [% END %] - [% END %] + [% END # /IF facets_loo.facets.size %] + [% END # /FOREACH facets_loo %] - - [% END %] -[% END %] + + [% END # /IF ( facets_loop ) %] +[% END # /IF ( opacfacets ) %] -- 2.39.5