[Koha-bugs] [Bug 24630] UNIMARC XSLT Update for bug 7611

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Feb 9 15:28:25 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24630

--- Comment #4 from Fridolin Somers <fridolin.somers at biblibre.com> ---
I see it adds callnumber with classes like in MARC21 :
  <span class="CallNumberAndLabel">
    <span class="LabelCallNumber">Call number: </span>
    <span class="CallNumber"><xsl:value-of
select="items:itemcallnumber"/></span>
  </span>

This is really great for styling.

But I see [] are added by CSS :

.ItemSummary .LabelCallNumber:before {
 content:" ["
}
.ItemSummary .CallNumber:after {
 content:"]"
}

In this case [ disappears if you hide LabelCallNumber.

Shouldn't it be :

.ItemSummary .CallNumberAndLabel:before {
 content:" ["
}
.ItemSummary .CallNumberAndLabel:after {
 content:"]"
}

I'll create another bug report it confirmed.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list