Lines 1129-1134
Link Here
|
1129 |
</span> |
1129 |
</span> |
1130 |
</xsl:if> |
1130 |
</xsl:if> |
1131 |
|
1131 |
|
|
|
1132 |
<!-- 765 - Original language entry --> |
1133 |
<xsl:for-each select="marc:datafield[@tag=765]"> |
1134 |
<span class="results_summary original_language_entry"> |
1135 |
<xsl:choose> |
1136 |
<xsl:when test="@ind2!=8 or not(marc:subfield[@code='i'])"> |
1137 |
<!-- fallback to this label too if 765$i is empty --> |
1138 |
<span class="label">Translation of: </span> |
1139 |
</xsl:when> |
1140 |
<xsl:otherwise> |
1141 |
<span class="label"> |
1142 |
<xsl:value-of select="marc:subfield[@code='i']"/> |
1143 |
<xsl:text>: </xsl:text> |
1144 |
</span> |
1145 |
</xsl:otherwise> |
1146 |
</xsl:choose> |
1147 |
<span class="original_language_entry_data"> |
1148 |
<xsl:variable name="href"> |
1149 |
<!-- call template to get href of search URL --> |
1150 |
<xsl:call-template name="GetCnumSearchURL"> |
1151 |
<xsl:with-param name="UseControlNumber" select="$UseControlNumber"/> |
1152 |
<xsl:with-param name="opac_url" select="0"/> |
1153 |
</xsl:call-template> |
1154 |
</xsl:variable> |
1155 |
<xsl:variable name="f765"> |
1156 |
<xsl:call-template name="subfieldSelect"> |
1157 |
<xsl:with-param name="codes">tad</xsl:with-param> |
1158 |
<xsl:with-param name="delimeter">, </xsl:with-param> |
1159 |
</xsl:call-template> |
1160 |
</xsl:variable> |
1161 |
<xsl:choose> |
1162 |
<xsl:when test="$href"> |
1163 |
<a> |
1164 |
<xsl:attribute name="href"><xsl:value-of select="$href"/></xsl:attribute> |
1165 |
<xsl:value-of select="$f765"/> |
1166 |
</a> |
1167 |
</xsl:when> |
1168 |
<xsl:otherwise> |
1169 |
<xsl:value-of select="$f765"/> |
1170 |
</xsl:otherwise> |
1171 |
</xsl:choose> |
1172 |
</span> |
1173 |
</span> |
1174 |
</xsl:for-each> |
1175 |
<!-- End of 765 - Original language entry --> |
1176 |
|
1132 |
<!-- 770 - Supplement/Special issue entry --> |
1177 |
<!-- 770 - Supplement/Special issue entry --> |
1133 |
<xsl:if test="marc:datafield[@tag=770]"> |
1178 |
<xsl:if test="marc:datafield[@tag=770]"> |
1134 |
<span class="results_summary supplement"><span class="label">Supplement: </span> |
1179 |
<span class="results_summary supplement"><span class="label">Supplement: </span> |