From a65c909ebcd943d92c61dbb761c7267c70a3472b Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sat, 14 Oct 2023 23:10:30 +0000 Subject: [PATCH] Bug 27943: (QA follow-up) Alternate display in result lists The original display put the equivalent heading right after the main heading with a = as separator. As the 7xx are repeatable that could get croweded easily, also if the terms are longer we might see not so nice breakage. This puts every 7xx on its own line below the main heading with some indentation. Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- .../intranet-tmpl/prog/css/src/staff-global.scss | 3 ++- .../prog/en/includes/authorities-search-results.inc | 12 +++++++----- .../en/includes/authorities-search-results.inc | 12 ++++++++---- 3 files changed, 17 insertions(+), 10 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss index 08b42df106..8a491aa0af 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -2671,7 +2671,8 @@ fieldset > .toptabs { } .seefrom, -.seealso { +.seealso, +.equivalentheading { font-style: italic; text-indent: 2em; } diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search-results.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search-results.inc index c6f6cf3c77..5d7d2004f8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search-results.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search-results.inc @@ -69,13 +69,15 @@ [% UNLESS loop.last %] | [% END %] [% END %] - [% IF summary.equalterm.size %] + + [% IF summary.equalterm.size %] [% FOREACH term IN summary.equalterm %] - = - [% term.heading | html %] +
+ = + [% term.heading | html %] +
[% END %] - [% END %] - + [% END %] [% IF ( marcflavour == 'UNIMARC' ) %] [% IF summary.notes %]
diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/authorities-search-results.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/authorities-search-results.inc index 106f0e617f..934cb46a60 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/authorities-search-results.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/authorities-search-results.inc @@ -61,13 +61,17 @@ [% authorize.heading | html %] [% UNLESS loop.last %] | [% END %] [% END %] - [% IF summary.equalterm.size %] +
+ [% IF summary.equalterm.size %] +
[% FOREACH term IN summary.equalterm %] +
= - [% term.heading | html %] + [% term.heading | html %] +
[% END %] - [% END %] -
+ + [% END %] [% IF ( marcflavour == 'UNIMARC' ) %] [% IF summary.notes %]
-- 2.20.1