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

(-)a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css (+27 lines)
Lines 2249-2251 div#acqui_order_supplierlist > div.supplier > div.baskets { Link Here
2249
.authref .label {
2249
.authref .label {
2250
    font-style: italic;
2250
    font-style: italic;
2251
}
2251
}
2252
2253
.contents {
2254
    width: 75%;
2255
}
2256
2257
.contentblock {
2258
    position: relative;
2259
    margin-left: 2em;
2260
}
2261
2262
.contents .t:first-child:before {
2263
    content: "→ ";
2264
}
2265
2266
.contents .t:before {
2267
    content: "\A→ ";
2268
    white-space: pre;
2269
}
2270
2271
.contents .t {
2272
    font-weight: bold;
2273
    display: inline;
2274
}
2275
2276
.contents .r {
2277
    display: inline;
2278
}
(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl (-27 / +29 lines)
Lines 542-574 Link Here
542
        </span>
542
        </span>
543
        </xsl:if>
543
        </xsl:if>
544
        <xsl:if test="marc:datafield[@tag=505]">
544
        <xsl:if test="marc:datafield[@tag=505]">
545
        <xsl:for-each select="marc:datafield[@tag=505]">
545
            <div class="results_summary contents">
546
        <span class="results_summary contents">
546
            <xsl:choose>
547
        <xsl:choose>
547
            <xsl:when test="marc:datafield[@tag=505]/@ind1=0">
548
        <xsl:when test="@ind1=0">
548
                <span class="label">Contents:</span>
549
            <span class="label">Contents:</span>
549
            </xsl:when>
550
        </xsl:when>
550
            <xsl:when test="marc:datafield[@tag=505]/@ind1=1">
551
        <xsl:when test="@ind1=1">
551
                <span class="label">Incomplete contents:</span>
552
            <span class="label">Incomplete contents:</span>
552
            </xsl:when>
553
        </xsl:when>
553
            <xsl:when test="marc:datafield[@tag=505]/@ind1=2">
554
        <xsl:when test="@ind1=1">
554
                <span class="label">Partial contents:</span>
555
            <span class="label">Partial contents:</span>
555
            </xsl:when>
556
        </xsl:when>
556
            </xsl:choose>
557
        </xsl:choose>  
557
                <xsl:for-each select="marc:datafield[@tag=505]">
558
        <xsl:choose>
558
                    <div class='contentblock'>
559
        <xsl:when test="@ind2=0">
559
                        <xsl:choose>
560
            <xsl:call-template name="subfieldSelect">
560
                        <xsl:when test="@ind2=0">
561
                <xsl:with-param name="codes">tru</xsl:with-param>
561
                            <xsl:call-template name="subfieldSelectSpan">
562
            </xsl:call-template>
562
                                <xsl:with-param name="codes">tru</xsl:with-param>
563
        </xsl:when>
563
                            </xsl:call-template>
564
        <xsl:otherwise>
564
                        </xsl:when>
565
            <xsl:call-template name="subfieldSelect">
565
                        <xsl:otherwise>
566
                <xsl:with-param name="codes">au</xsl:with-param>
566
                            <xsl:call-template name="subfieldSelectSpan">
567
            </xsl:call-template>
567
                                <xsl:with-param name="codes">atru</xsl:with-param>
568
        </xsl:otherwise>
568
                            </xsl:call-template>
569
        </xsl:choose>
569
                        </xsl:otherwise>
570
        </span>
570
                        </xsl:choose>
571
        </xsl:for-each>
571
                    </div>
572
                </xsl:for-each>
573
            </div>
572
        </xsl:if>
574
        </xsl:if>
573
575
574
        <!-- 773 -->
576
        <!-- 773 -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl (-1 / +20 lines)
Lines 40-45 Link Here
40
		<xsl:value-of select="substring($str,1,string-length($str)-string-length($delimeter))"/>
40
		<xsl:value-of select="substring($str,1,string-length($str)-string-length($delimeter))"/>
41
	</xsl:template>
41
	</xsl:template>
42
42
43
    <xsl:template name="subfieldSelectSpan">
44
        <xsl:param name="codes"/>
45
        <xsl:param name="delimeter"><xsl:text> </xsl:text></xsl:param>
46
        <xsl:param name="subdivCodes"/>
47
        <xsl:param name="subdivDelimiter"/>
48
        <xsl:param name="prefix"/>
49
        <xsl:param name="suffix"/>
50
            <xsl:for-each select="marc:subfield">
51
                <xsl:if test="contains($codes, @code)">
52
                    <span>
53
                        <xsl:attribute name="class"><xsl:value-of select="@code"/></xsl:attribute>
54
                        <xsl:if test="contains($subdivCodes, @code)">
55
                            <xsl:value-of select="$subdivDelimiter"/>
56
                        </xsl:if>
57
                        <xsl:value-of select="$prefix"/><xsl:value-of select="text()"/><xsl:value-of select="$suffix"/><xsl:if test="position()!=last()"><xsl:value-of select="$delimeter"/></xsl:if>
58
                    </span>
59
                </xsl:if>
60
            </xsl:for-each>
61
    </xsl:template>
62
43
	<xsl:template name="buildSpaces">
63
	<xsl:template name="buildSpaces">
44
		<xsl:param name="spaces"/>
64
		<xsl:param name="spaces"/>
45
		<xsl:param name="char"><xsl:text> </xsl:text></xsl:param>
65
		<xsl:param name="char"><xsl:text> </xsl:text></xsl:param>
46
- 

Return to bug 6617