View | Details | Raw Unified | Return to bug 30430
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslim2intranetDetail.xsl (-3 / +1 lines)
Lines 138-146 Link Here
138
    </span>
138
    </span>
139
  </xsl:if>
139
  </xsl:if>
140
140
141
  <xsl:call-template name="tag_210" />
141
  <xsl:call-template name="tag_210-214" />
142
143
  <xsl:call-template name="tag_214" />
144
142
145
  <xsl:call-template name="tag_215" />
143
  <xsl:call-template name="tag_215" />
146
144
(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslim2intranetResults.xsl (-3 / +1 lines)
Lines 73-81 Link Here
73
73
74
  <xsl:call-template name="tag_4xx" />
74
  <xsl:call-template name="tag_4xx" />
75
75
76
  <xsl:call-template name="tag_210" />
76
  <xsl:call-template name="tag_210-214" />
77
78
  <xsl:call-template name="tag_214" />
79
77
80
  <xsl:call-template name="tag_215" />
78
  <xsl:call-template name="tag_215" />
81
79
(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslimUtils.xsl (+53 lines)
Lines 28-33 Link Here
28
    </xsl:element>
28
    </xsl:element>
29
  </xsl:template>
29
  </xsl:template>
30
30
31
  <xsl:template name="tag_210-214">
32
    <xsl:choose>
33
      <xsl:when test="marc:datafield[@tag=210] and marc:datafield[@tag=214]">
34
	<xsl:call-template name="tag_214" />
35
      </xsl:when>
36
      <xsl:when test="marc:datafield[@tag=214]">
37
	<xsl:call-template name="tag_214" />
38
      </xsl:when>
39
      <xsl:when test="marc:datafield[@tag=210]">
40
	<xsl:call-template name="tag_210" />
41
      </xsl:when>
42
    </xsl:choose>
43
  </xsl:template>
44
31
  <xsl:template name="tag_210">
45
  <xsl:template name="tag_210">
32
    <span class="results_summary publication">
46
    <span class="results_summary publication">
33
      <span class="label">Publication: </span>
47
      <span class="label">Publication: </span>
Lines 153-158 Link Here
153
        </span>
167
        </span>
154
      </span>
168
      </span>
155
    </xsl:for-each>
169
    </xsl:for-each>
170
    <xsl:call-template name="tag_214_r" />
171
    <xsl:call-template name="tag_214_s" />
172
  </xsl:template>
173
174
  <xsl:template name="tag_214_s">
175
    <xsl:if test="marc:datafield[@tag=214]/marc:subfield[@code='s']">
176
      <span class="results_summary tag_214_s">
177
	<span class="label">Printing and/or Publishing Information Transcribed as Found in the Colophon: </span>
178
	<xsl:for-each select="marc:datafield[@tag=214]">
179
	  <xsl:value-of select="marc:subfield[@code='s']"/>
180
	  <xsl:choose>
181
	    <xsl:when test="position()=last()">
182
	      <xsl:text>.</xsl:text>
183
	    </xsl:when>
184
	    <xsl:otherwise><xsl:text>, </xsl:text>
185
	    </xsl:otherwise>
186
	  </xsl:choose>
187
	</xsl:for-each>
188
      </span>
189
    </xsl:if>
190
  </xsl:template>
191
192
  <xsl:template name="tag_214_r">
193
    <xsl:if test="marc:datafield[@tag=214]/marc:subfield[@code='r']">
194
      <span class="results_summary tag_214_r">
195
	<span class="label">Printing and/or Publishing Information Transcribed as Found in the Main Source of
196
	Information: </span>
197
	<xsl:for-each select="marc:datafield[@tag=214]">
198
	  <xsl:value-of select="marc:subfield[@code='r']"/>
199
	  <xsl:choose>
200
	    <xsl:when test="position()=last()">
201
	      <xsl:text>.</xsl:text>
202
	    </xsl:when>
203
	    <xsl:otherwise><xsl:text>, </xsl:text>
204
	    </xsl:otherwise>
205
	  </xsl:choose>
206
	</xsl:for-each>
207
      </span>
208
    </xsl:if>
156
  </xsl:template>
209
  </xsl:template>
157
210
158
  <xsl:template name="tag_215">
211
  <xsl:template name="tag_215">
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslim2OPACDetail.xsl (-3 / +1 lines)
Lines 186-194 Link Here
186
    <xsl:with-param name="spanclass">edition</xsl:with-param>
186
    <xsl:with-param name="spanclass">edition</xsl:with-param>
187
  </xsl:call-template>
187
  </xsl:call-template>
188
188
189
  <xsl:call-template name="tag_210" />
189
  <xsl:call-template name="tag_210-214" />
190
191
  <xsl:call-template name="tag_214" />
192
190
193
  <xsl:call-template name="tag_215" />
191
  <xsl:call-template name="tag_215" />
194
192
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslim2OPACResults.xsl (-3 / +1 lines)
Lines 151-159 Link Here
151
    <xsl:with-param name="spanclass">piece_analytic_level</xsl:with-param>
151
    <xsl:with-param name="spanclass">piece_analytic_level</xsl:with-param>
152
  </xsl:call-template>
152
  </xsl:call-template>
153
153
154
  <xsl:call-template name="tag_210" />
154
  <xsl:call-template name="tag_210-214" />
155
156
  <xsl:call-template name="tag_214" />
157
155
158
  <xsl:call-template name="tag_215" />
156
  <xsl:call-template name="tag_215" />
159
157
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslimUtils.xsl (-1 / +53 lines)
Lines 189-194 Link Here
189
    </xsl:if>
189
    </xsl:if>
190
  </xsl:template>
190
  </xsl:template>
191
191
192
  <xsl:template name="tag_210-214">
193
    <xsl:choose>
194
      <xsl:when test="marc:datafield[@tag=210] and marc:datafield[@tag=214]">
195
	<xsl:call-template name="tag_214" />
196
      </xsl:when>
197
      <xsl:when test="marc:datafield[@tag=214]">
198
	<xsl:call-template name="tag_214" />
199
      </xsl:when>
200
      <xsl:when test="marc:datafield[@tag=210]">
201
	<xsl:call-template name="tag_210" />
202
      </xsl:when>
203
    </xsl:choose>
204
  </xsl:template>
205
192
  <xsl:template name="tag_210">
206
  <xsl:template name="tag_210">
193
    <span class="results_summary publication">
207
    <span class="results_summary publication">
194
      <span class="label">Publication: </span>
208
      <span class="label">Publication: </span>
Lines 311-316 Link Here
311
        </span>
325
        </span>
312
      </span>
326
      </span>
313
    </xsl:for-each>
327
    </xsl:for-each>
328
    <xsl:call-template name="tag_214_r" />
329
    <xsl:call-template name="tag_214_s" />
330
  </xsl:template>
331
332
  <xsl:template name="tag_214_s">
333
    <xsl:if test="marc:datafield[@tag=214]/marc:subfield[@code='s']">
334
      <span class="results_summary tag_214_s">
335
	<span class="label">Printing and/or Publishing Information Transcribed as Found in the Colophon: </span>
336
	<xsl:for-each select="marc:datafield[@tag=214]">
337
	  <xsl:value-of select="marc:subfield[@code='s']"/>
338
	  <xsl:choose>
339
	    <xsl:when test="position()=last()">
340
	      <xsl:text>.</xsl:text>
341
	    </xsl:when>
342
	    <xsl:otherwise><xsl:text>, </xsl:text>
343
	    </xsl:otherwise>
344
	  </xsl:choose>
345
	</xsl:for-each>
346
      </span>
347
    </xsl:if>
348
  </xsl:template>
349
350
  <xsl:template name="tag_214_r">
351
    <xsl:if test="marc:datafield[@tag=214]/marc:subfield[@code='r']">
352
      <span class="results_summary tag_214_r">
353
	<span class="label">Printing and/or Publishing Information Transcribed as Found in the Main Source of
354
	formation: </span>
355
	<xsl:for-each select="marc:datafield[@tag=214]">
356
	  <xsl:value-of select="marc:subfield[@code='r']"/>
357
	  <xsl:choose>
358
	    <xsl:when test="position()=last()">
359
	      <xsl:text>.</xsl:text>
360
	    </xsl:when>
361
	    <xsl:otherwise><xsl:text>, </xsl:text>
362
	    </xsl:otherwise>
363
	  </xsl:choose>
364
	</xsl:for-each>
365
      </span>
366
    </xsl:if>
314
  </xsl:template>
367
  </xsl:template>
315
368
316
  <xsl:template name="tag_215">
369
  <xsl:template name="tag_215">
317
- 

Return to bug 30430