From ee657b6e5aa0dc9a292260b01dc810fe3d5e2f50 Mon Sep 17 00:00:00 2001 From: David Roberts Date: Sat, 9 May 2020 22:14:10 +0000 Subject: [PATCH] Bug 12093: Add CSS classes to item statuses in detail view This patch adds classes where necessary to detail.pl To test: 1) Apply patch 2) View source of /cgi-bin/koha/catalogue/detail.pl to check that there are no orphaned statuses without classes. Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart --- .../prog/en/modules/catalogue/detail.tt | 36 ++++++++++--------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt index 17052abc31..680fb5f489 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -33,9 +33,9 @@ [% INCLUDE 'doc-head-open.inc' %] Koha › Catalog › [% IF ( unknownbiblionumber ) %] - Unknown record + <span class="unknownrecord">Unknown record</span> [% ELSE %] - Details for [% INCLUDE 'biblio-title-head.inc' %] + <span class="titledetails">Details for [% INCLUDE 'biblio-title-head.inc' %]</span> [% END %] [% INCLUDE 'doc-head-close.inc' %] @@ -48,9 +48,9 @@ @@ -71,8 +71,9 @@ [% INCLUDE 'cat-toolbar.inc' %] [% IF decoding_error %]
- There is an error with this bibliographic record, the view may be degraded. -
Error: [% decoding_error | html %] + + There is an error with this bibliographic record, the view may be degraded. +
Error: [% decoding_error | html %]
[% END %] [% IF ( ocoins ) %] @@ -268,12 +269,12 @@ [% IF !noItemTypeImages && item.imageurl %] [% item.translated_description | html %] [% END %] - [% item.translated_description | html %] + [% item.translated_description | html %] [% END %] [% UNLESS ( singlebranchmode ) %][% Branches.GetName( item.branchcode ) | html %] [% END %] - [% Branches.GetName(item.homebranch) | html %] + [% Branches.GetName(item.homebranch) | html %]