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 <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Katrin Fischer 2023-10-14 23:10:30 +00:00 committed by Tomas Cohen Arazi
parent a04f9447f7
commit a65c909ebc
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F
3 changed files with 20 additions and 13 deletions

View file

@ -2671,7 +2671,8 @@ fieldset > .toptabs {
}
.seefrom,
.seealso {
.seealso,
.equivalentheading {
font-style: italic;
text-indent: 2em;
}

View file

@ -69,13 +69,15 @@
</span>
[% UNLESS loop.last %] | [% END %]
[% END %]
[% IF summary.equalterm.size %]
[% FOREACH term IN summary.equalterm %]
<span class="label">=</span>
<span class="authorized">[% term.heading | html %]</span>
[% END %]
[% END %]
</div>
[% IF summary.equalterm.size %]
[% FOREACH term IN summary.equalterm %]
<div class="equivalentheading">
<span class="label">=</span>
<span class="authorizedheading">[% term.heading | html %]</span>
</div>
[% END %]
[% END %]
[% IF ( marcflavour == 'UNIMARC' ) %]
[% IF summary.notes %]
<div class="authres_notes">

View file

@ -61,13 +61,17 @@
<span class="authorizedheading">[% authorize.heading | html %]</span>
[% UNLESS loop.last %] | [% END %]
[% END %]
[% IF summary.equalterm.size %]
[% FOREACH term IN summary.equalterm %]
<span class="label">=</span>
<span class="authorized">[% term.heading | html %]</span>
[% END %]
[% END %]
</div>
[% IF summary.equalterm.size %]
<div class="authref">
[% FOREACH term IN summary.equalterm %]
<div class="heading">
<span class="label">=</span>
<span class="authorizedheading">[% term.heading | html %]</span>
</div>
[% END %]
</div>
[% END %]
[% IF ( marcflavour == 'UNIMARC' ) %]
[% IF summary.notes %]
<div class="authres_notes">