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

(-)a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss (-13 / +14 lines)
Lines 2882-2911 li { Link Here
2882
.contents {
2882
.contents {
2883
    width: 75%;
2883
    width: 75%;
2884
2884
2885
    .r {
2885
    .newline::after {
2886
        display: inline;
2886
        content: "\A → ";
2887
        white-space: pre;
2887
    }
2888
    }
2888
2889
2889
    .t {
2890
    .t {
2890
        display: inline;
2891
        font-weight: bold;
2891
        font-weight: bold;
2892
        display: inline;
2893
    }
2892
2894
2893
        &:first-child {
2895
    .r {
2894
            &::before {
2896
        display: inline;
2895
                content: "→ ";
2896
            }
2897
        }
2898
2899
        &::before {
2900
            content: "\A→ ";
2901
            white-space: pre;
2902
        }
2903
    }
2897
    }
2904
}
2898
}
2905
2899
2900
2906
.contentblock {
2901
.contentblock {
2902
    font-size: 95%;
2903
    line-height: 135%;
2907
    margin-left: 2em;
2904
    margin-left: 2em;
2908
    position: relative;
2905
    position: relative;
2906
2907
    :first-child::before {
2908
        content: "→ ";
2909
    }
2909
}
2910
}
2910
2911
2911
#hierarchies {
2912
#hierarchies {
(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl (+2 lines)
Lines 1035-1045 Link Here
1035
                        <xsl:choose>
1035
                        <xsl:choose>
1036
                        <xsl:when test="@ind2=0">
1036
                        <xsl:when test="@ind2=0">
1037
                            <xsl:call-template name="subfieldSelectSpan">
1037
                            <xsl:call-template name="subfieldSelectSpan">
1038
                                <xsl:with-param name="newline">1</xsl:with-param>
1038
                                <xsl:with-param name="codes">trug</xsl:with-param>
1039
                                <xsl:with-param name="codes">trug</xsl:with-param>
1039
                            </xsl:call-template>
1040
                            </xsl:call-template>
1040
                        </xsl:when>
1041
                        </xsl:when>
1041
                        <xsl:otherwise>
1042
                        <xsl:otherwise>
1042
                            <xsl:call-template name="subfieldSelectSpan">
1043
                            <xsl:call-template name="subfieldSelectSpan">
1044
                                <xsl:with-param name="newline">1</xsl:with-param>
1043
                                <xsl:with-param name="codes">atrug</xsl:with-param>
1045
                                <xsl:with-param name="codes">atrug</xsl:with-param>
1044
                            </xsl:call-template>
1046
                            </xsl:call-template>
1045
                        </xsl:otherwise>
1047
                        </xsl:otherwise>
(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl (-1 / +7 lines)
Lines 60-69 Link Here
60
        <xsl:param name="subdivDelimiter"/>
60
        <xsl:param name="subdivDelimiter"/>
61
        <xsl:param name="prefix"/>
61
        <xsl:param name="prefix"/>
62
        <xsl:param name="suffix"/>
62
        <xsl:param name="suffix"/>
63
        <xsl:param name="newline"/>
63
            <xsl:for-each select="marc:subfield">
64
            <xsl:for-each select="marc:subfield">
64
                <xsl:if test="contains($codes, @code)">
65
                <xsl:if test="contains($codes, @code)">
65
                    <span>
66
                    <span>
66
                        <xsl:attribute name="class"><xsl:value-of select="@code"/></xsl:attribute>
67
                        <xsl:attribute name="class">
68
                            <xsl:value-of select="@code"/>
69
                            <xsl:if test="$newline = 1 and contains(text(), '--')">
70
                                <xsl:text> newline</xsl:text>
71
                            </xsl:if>
72
                        </xsl:attribute>
67
                        <xsl:if test="contains($subdivCodes, @code)">
73
                        <xsl:if test="contains($subdivCodes, @code)">
68
                            <xsl:value-of select="$subdivDelimiter"/>
74
                            <xsl:value-of select="$subdivDelimiter"/>
69
                        </xsl:if>
75
                        </xsl:if>
(-)a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss (-5 / +5 lines)
Lines 2237-2247 nav { Link Here
2237
.contents {
2237
.contents {
2238
    width: 75%;
2238
    width: 75%;
2239
2239
2240
    .t:first-child::before {
2240
    .newline::after {
2241
        content: "→ ";
2242
    }
2243
2244
    .t::before {
2245
        content: "\A → ";
2241
        content: "\A → ";
2246
        white-space: pre;
2242
        white-space: pre;
2247
    }
2243
    }
Lines 2262-2267 nav { Link Here
2262
    line-height: 135%;
2258
    line-height: 135%;
2263
    margin-left: 2em;
2259
    margin-left: 2em;
2264
    position: relative;
2260
    position: relative;
2261
2262
    :first-child::before {
2263
        content: "→ ";
2264
    }
2265
}
2265
}
2266
2266
2267
.m880 {
2267
.m880 {
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl (+2 lines)
Lines 1118-1128 Link Here
1118
                        <xsl:choose>
1118
                        <xsl:choose>
1119
                            <xsl:when test="@ind2=0">
1119
                            <xsl:when test="@ind2=0">
1120
                                <xsl:call-template name="subfieldSelectSpan">
1120
                                <xsl:call-template name="subfieldSelectSpan">
1121
                                    <xsl:with-param name="newline">1</xsl:with-param>
1121
                                    <xsl:with-param name="codes">trug</xsl:with-param>
1122
                                    <xsl:with-param name="codes">trug</xsl:with-param>
1122
                                </xsl:call-template>
1123
                                </xsl:call-template>
1123
                            </xsl:when>
1124
                            </xsl:when>
1124
                            <xsl:otherwise>
1125
                            <xsl:otherwise>
1125
                                <xsl:call-template name="subfieldSelectSpan">
1126
                                <xsl:call-template name="subfieldSelectSpan">
1127
                                    <xsl:with-param name="newline">1</xsl:with-param>
1126
                                    <xsl:with-param name="codes">atrug</xsl:with-param>
1128
                                    <xsl:with-param name="codes">atrug</xsl:with-param>
1127
                                </xsl:call-template>
1129
                                </xsl:call-template>
1128
                            </xsl:otherwise>
1130
                            </xsl:otherwise>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl (-2 / +7 lines)
Lines 60-69 Link Here
60
        <xsl:param name="subdivDelimiter"/>
60
        <xsl:param name="subdivDelimiter"/>
61
        <xsl:param name="prefix"/>
61
        <xsl:param name="prefix"/>
62
        <xsl:param name="suffix"/>
62
        <xsl:param name="suffix"/>
63
        <xsl:param name="newline"/>
63
            <xsl:for-each select="marc:subfield">
64
            <xsl:for-each select="marc:subfield">
64
                <xsl:if test="contains($codes, @code)">
65
                <xsl:if test="contains($codes, @code)">
65
                    <span>
66
                    <span>
66
                        <xsl:attribute name="class"><xsl:value-of select="@code"/></xsl:attribute>
67
                        <xsl:attribute name="class">
68
                            <xsl:value-of select="@code"/>
69
                            <xsl:if test="$newline = 1 and contains(text(), '--')">
70
                                <xsl:text> newline</xsl:text>
71
                            </xsl:if>
72
                        </xsl:attribute>
67
                        <xsl:if test="contains($subdivCodes, @code)">
73
                        <xsl:if test="contains($subdivCodes, @code)">
68
                            <xsl:value-of select="$subdivDelimiter"/>
74
                            <xsl:value-of select="$subdivDelimiter"/>
69
                        </xsl:if>
75
                        </xsl:if>
70
- 

Return to bug 19616