Bugzilla – Attachment 112186 Details for
Bug 12533
Improve authority search result display
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12533: (follow-up) Add CSS to preview display of authority MARC
Bug-12533-follow-up-Add-CSS-to-preview-display-of-.patch (text/plain), 3.67 KB, created by
Katrin Fischer
on 2020-10-22 12:38:27 UTC
(
hide
)
Description:
Bug 12533: (follow-up) Add CSS to preview display of authority MARC
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-10-22 12:38:27 UTC
Size:
3.67 KB
patch
obsolete
>From d6cdd4c62d8e8b60112598b7de668f1187e105fd Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 22 Oct 2020 12:27:17 +0000 >Subject: [PATCH] Bug 12533: (follow-up) Add CSS to preview display of > authority MARC > >This patch adds the same CSS used by authorities/detail.tt to the >modal preview of the authority record shown in the authorities search >result popup. > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/intranet-tmpl/prog/css/addbiblio.css | 43 ++++++++++++++++++++++ > .../prog/en/modules/authorities/detail.tt | 38 ------------------- > .../modules/authorities/searchresultlist-auth.tt | 1 + > 3 files changed, 44 insertions(+), 38 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/css/addbiblio.css b/koha-tmpl/intranet-tmpl/prog/css/addbiblio.css >index baf3f2138d..03b9daf985 100644 >--- a/koha-tmpl/intranet-tmpl/prog/css/addbiblio.css >+++ b/koha-tmpl/intranet-tmpl/prog/css/addbiblio.css >@@ -353,3 +353,46 @@ tbody tr.active td { > .ui-autocomplete { > z-index: 2000; > } >+ >+#authoritiestabs .marc_field { >+ display: inline-block; >+ padding: .3em; >+ border-radius: 3px; >+} >+ >+#authoritiestabs .marc_subfield { >+ font-weight: bold; >+ color: #666; >+} >+ >+#authoritiestabs .marc_subfield_desc { >+ color: #00698a; >+ font-style: italic; >+} >+ >+#authoritiestabs .auth_subfield { >+ display: flex; >+} >+ >+#authoritiestabs .tag { >+ padding: .4em 0; >+} >+ >+#authoritiestabs .tag_desc { >+ color: #026; >+} >+ >+#authoritiestabs .tag_num { >+ color: #080; >+} >+ >+#authoritiestabs .tag_title { >+ font-size: 100%; >+ font-weight: bold; >+ padding: 0; >+} >+ >+#authoritiestabs .ui-tabs-nav.ui-widget-header { >+ border-bottom: 1px solid #b9d8d9; >+ border-radius: 0; >+} >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt >index 2670138b72..62f05615c6 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt >@@ -12,44 +12,6 @@ > </title> > [% INCLUDE 'doc-head-close.inc' %] > [% Asset.css("css/addbiblio.css") | $raw %] >-[% FILTER collapse %] >- <style> >- .marc_field { >- display: inline-block; >- padding: .3em; >- border-radius: 3px; >- } >- .marc_subfield { >- font-weight: bold; >- color: #666; >- } >- .marc_subfield_desc { >- color: #00698a; >- font-style: italic; >- } >- .auth_subfield { >- display: flex; >- } >- .tag { >- padding: .4em 0; >- } >- .tag_desc { >- color: #026; >- } >- .tag_num { >- color: #080; >- } >- .tag_title { >- font-size: 100%; >- font-weight: bold; >- padding: 0; >- } >- .ui-tabs-nav.ui-widget-header { >- border-bottom: 1px solid #b9d8d9; >- border-radius: 0; >- } >- </style> >-[% END %] > </head> > > <body id="auth_detail" class="auth"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt >index ec1092bcfe..aff29d5030 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt >@@ -5,6 +5,7 @@ > [% INCLUDE 'doc-head-open.inc' %] > <title>Koha › Cataloging authority plugin</title> > [% INCLUDE 'doc-head-close.inc' %] >+[% Asset.css("css/addbiblio.css") | $raw %] > </head> > > <body id="auth_searchresultlist_auth" class="auth"> >-- >2.11.0
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 12533
:
86199
|
88774
|
88776
|
112104
|
112175
|
112183
|
112185
| 112186