Bugzilla – Attachment 154701 Details for
Bug 34422
Reindent facets.inc
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34422: (follow-up) Add markup comments
Bug-34422-follow-up-Add-markup-comments.patch (text/plain), 3.50 KB, created by
Owen Leonard
on 2023-08-22 15:09:50 UTC
(
hide
)
Description:
Bug 34422: (follow-up) Add markup comments
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2023-08-22 15:09:50 UTC
Size:
3.50 KB
patch
obsolete
>From 00c3b7d4e0ebf4dca12810b6abcebebf4b99984e Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >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 <matt.blenkinsop@ptfs-europe.com> >--- > .../intranet-tmpl/prog/en/includes/facets.inc | 22 +++++++++---------- > 1 file changed, 11 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 c069e619bc..f54378eb1d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc >@@ -20,10 +20,10 @@ > <span class="filter_label"><a href="[% base_url _ '&limit=search_filter:' _ search_filter.id | url %]">[% search_filter.name | html %]</a></span> > [% END %] > </li> >- [% END %] >+ [% END # /FOREACH search_filter %] > </ul> > </li> >- [% END %] >+ [% END # /IF SavedSearchFilters %] > <li id="availability_facet"> > Availability > <ul> >@@ -38,14 +38,14 @@ > <li> > <a href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi | $raw %][% limit_cgi | $raw %][% IF ( sort_by ) %]&sort_by=[% sort_by | uri %][% END %]&limit=available">Limit to currently available items</a> > </li> >- [% END %] >+ [% END # /IF available %] > </ul> > [% IF ( related ) %] > <li> > (related searches: [% FOREACH relate IN related %][% relate.related_search | html %][% END %]) > </li> > [% END %] >- </li> >+ </li> <!-- /#availability_facet --> > > [% FOREACH facets_loo IN facets_loop %] > [% IF facets_loo.facets.size > 0 %] >@@ -92,9 +92,9 @@ > [% IF ( displayFacetCount ) %] > <span class="facet-count"> ([% facet.facet_count | html %])</span> > [% END %] >- [% END %] >+ [% END # /IF facet.active %] > </li> >- [% END %] >+ [% END # /FOREACH facet %] > [% IF facets_loo.facets.size > 5 %] > <li class="moretoggle"> > <a href="#"><strong>Show more</strong></a> >@@ -105,9 +105,9 @@ > [% END %] > </ul> > </li> >- [% END %] >- [% END %] >+ [% END # /IF facets_loo.facets.size %] >+ [% END # /FOREACH facets_loo %] > </ul> >- </div> >- [% END %] >-[% END %] >+ </div> <!-- /#search-facets --> >+ [% END # /IF ( facets_loop ) %] >+[% END # /IF ( opacfacets ) %] >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 34422
:
153930
|
153931
|
154080
|
154081
|
154082
|
154700
|
154701
|
157272
|
157273
|
157572
|
157573