Bugzilla – Attachment 157177 Details for
Bug 27943
MARC21 authorities not support 7XX on display
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27943: (QA follow-up) Alternate display in result lists
Bug-27943-QA-follow-up-Alternate-display-in-result.patch (text/plain), 3.64 KB, created by
Katrin Fischer
on 2023-10-14 23:13:33 UTC
(
hide
)
Description:
Bug 27943: (QA follow-up) Alternate display in result lists
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2023-10-14 23:13:33 UTC
Size:
3.64 KB
patch
obsolete
>From fe2535de59c354308e5563f26a90eb4fb0daaf88 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >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 <katrin.fischer.83@web.de> >--- > .../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 029ed50d4b..e58fa9a696 100644 >--- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >+++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >@@ -2668,7 +2668,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 @@ > </span> > [% UNLESS loop.last %] | [% END %] > [% END %] >- [% IF summary.equalterm.size %] >+ </div> >+ [% IF summary.equalterm.size %] > [% FOREACH term IN summary.equalterm %] >- <span class="label">=</span> >- <span class="authorized">[% term.heading | html %]</span> >+ <div class="equivalentheading"> >+ <span class="label">=</span> >+ <span class="authorizedheading">[% term.heading | html %]</span> >+ </div> > [% END %] >- [% END %] >- </div> >+ [% END %] > [% IF ( marcflavour == 'UNIMARC' ) %] > [% IF summary.notes %] > <div class="authres_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 @@ > <span class="authorizedheading">[% authorize.heading | html %]</span> > [% UNLESS loop.last %] | [% END %] > [% END %] >- [% IF summary.equalterm.size %] >+ </div> >+ [% IF summary.equalterm.size %] >+ <div class="authref"> > [% FOREACH term IN summary.equalterm %] >+ <div class="heading"> > <span class="label">=</span> >- <span class="authorized">[% term.heading | html %]</span> >+ <span class="authorizedheading">[% term.heading | html %]</span> >+ </div> > [% END %] >- [% END %] >- </div> >+ </div> >+ [% END %] > [% IF ( marcflavour == 'UNIMARC' ) %] > [% IF summary.notes %] > <div class="authres_notes"> >-- >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 27943
:
122549
|
132778
|
133712
|
146945
|
154502
|
157173
|
157174
|
157175
|
157176
| 157177