Koha/koha-tmpl/opac-tmpl/bootstrap/en/xslt
Marcel de Rooy c652ed4b1d
Bug 30352: Add a comment to the substatus translation
The tric of combining the XPath union operator (|) with the
value-of instruction works as a sort of ternary operation.
The value-of only picks the string value of the first node
from the union in document order.

So, if there is a translation, it will be the first node. If there
is no translation, the original substatus will be used. Note that
there will be no translation for authorised values like Staff
collection, etc.

Test plan:
None. Just comments.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-04-24 10:43:43 -03:00
..
compact.xsl
MARC21Languages.xsl
MARC21slim2OPACDetail.xsl Bug 31123: Add all subfields to OPAC stylsheet 2023-04-06 10:45:00 -03:00
MARC21slim2OPACResults.xsl Bug 30352: Add a comment to the substatus translation 2023-04-24 10:43:43 -03:00
MARC21slimUtils.xsl Bug 32794: (follow-up) Consolidate shared code into one function (:template) 2023-03-31 12:09:36 +02:00
plainMARC.xsl
UNIMARCslim2OPACDetail.xsl
UNIMARCslim2OPACResults.xsl
UNIMARCslimUtils.xsl