Bug 35410: Use "Online resources" label in search results
Update the staff interface and OPAC XSLT files to use "Online resources" as the label in search results, instead of "Online access". This matches the label used in the detail page for a record. Test plan: 1. Search for perl in the staff interface and OPAC (or add to an existing record a URL to 856$u with 4 for the first indicator). 2. For any search result that displays the "Online access" label, view the detail page for the record. 3. Note that the detail page uses the label "Online resources". 4. Apply the patch and restart_all. 5. Repeat steps 1 and 2. 6. Note that the search result pages now show "Online resources" for the label, matching the detail page. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> Signed-off-by: David Cook <dcook@prosentient.com.au> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> (cherry picked from commit6c8ad081a6) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> (cherry picked from commitc5f9158dca) Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
a27834cb38
commit
e6d9d6a00a
|
|
@ -957,8 +957,8 @@
|
|||
</xsl:call-template>
|
||||
|
||||
<xsl:if test="marc:datafield[@tag=856]">
|
||||
<span class="results_summary online_access">
|
||||
<span class="label">Online access: </span>
|
||||
<span class="results_summary online_resources">
|
||||
<span class="label">Online resources: </span>
|
||||
<xsl:for-each select="marc:datafield[@tag=856]">
|
||||
<xsl:variable name="SubqText"><xsl:value-of select="marc:subfield[@code='q']"/></xsl:variable>
|
||||
<a>
|
||||
|
|
|
|||
|
|
@ -1196,7 +1196,7 @@
|
|||
|
||||
<xsl:if test="marc:datafield[@tag=856]">
|
||||
<div class="results_summary online_resources">
|
||||
<span class="label">Online access: </span>
|
||||
<span class="label">Online resources: </span>
|
||||
<ul class="resource_list">
|
||||
<xsl:for-each select="marc:datafield[@tag=856]">
|
||||
<xsl:variable name="SubqText"><xsl:value-of select="marc:subfield[@code='q']"/></xsl:variable>
|
||||
|
|
|
|||
Loading…
Reference in New Issue