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 2881-2910 li { Link Here
2881
.contents {
2881
.contents {
2882
    width: 75%;
2882
    width: 75%;
2883
2883
2884
    .r {
2884
    .newline::after {
2885
        display: inline;
2885
        content: "\A → ";
2886
        white-space: pre;
2886
    }
2887
    }
2887
2888
2888
    .t {
2889
    .t {
2889
        display: inline;
2890
        font-weight: bold;
2890
        font-weight: bold;
2891
        display: inline;
2892
    }
2891
2893
2892
        &:first-child {
2894
    .r {
2893
            &::before {
2895
        display: inline;
2894
                content: "→ ";
2895
            }
2896
        }
2897
2898
        &::before {
2899
            content: "\A→ ";
2900
            white-space: pre;
2901
        }
2902
    }
2896
    }
2903
}
2897
}
2904
2898
2899
2905
.contentblock {
2900
.contentblock {
2901
    font-size: 95%;
2902
    line-height: 135%;
2906
    margin-left: 2em;
2903
    margin-left: 2em;
2907
    position: relative;
2904
    position: relative;
2905
2906
    :first-child::before {
2907
        content: "→ ";
2908
    }
2908
}
2909
}
2909
2910
2910
#hierarchies {
2911
#hierarchies {
(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl (+2 lines)
Lines 1049-1059 Link Here
1049
                        <xsl:choose>
1049
                        <xsl:choose>
1050
                        <xsl:when test="@ind2=0">
1050
                        <xsl:when test="@ind2=0">
1051
                            <xsl:call-template name="subfieldSelectSpan">
1051
                            <xsl:call-template name="subfieldSelectSpan">
1052
                                <xsl:with-param name="newline">1</xsl:with-param>
1052
                                <xsl:with-param name="codes">trug</xsl:with-param>
1053
                                <xsl:with-param name="codes">trug</xsl:with-param>
1053
                            </xsl:call-template>
1054
                            </xsl:call-template>
1054
                        </xsl:when>
1055
                        </xsl:when>
1055
                        <xsl:otherwise>
1056
                        <xsl:otherwise>
1056
                            <xsl:call-template name="subfieldSelectSpan">
1057
                            <xsl:call-template name="subfieldSelectSpan">
1058
                                <xsl:with-param name="newline">1</xsl:with-param>
1057
                                <xsl:with-param name="codes">atrug</xsl:with-param>
1059
                                <xsl:with-param name="codes">atrug</xsl:with-param>
1058
                            </xsl:call-template>
1060
                            </xsl:call-template>
1059
                        </xsl:otherwise>
1061
                        </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 2215-2225 nav { Link Here
2215
.contents {
2215
.contents {
2216
    width: 75%;
2216
    width: 75%;
2217
2217
2218
    .t:first-child::before {
2218
    .newline::after {
2219
        content: "→ ";
2220
    }
2221
2222
    .t::before {
2223
        content: "\A → ";
2219
        content: "\A → ";
2224
        white-space: pre;
2220
        white-space: pre;
2225
    }
2221
    }
Lines 2240-2245 nav { Link Here
2240
    line-height: 135%;
2236
    line-height: 135%;
2241
    margin-left: 2em;
2237
    margin-left: 2em;
2242
    position: relative;
2238
    position: relative;
2239
2240
    :first-child::before {
2241
        content: "→ ";
2242
    }
2243
}
2243
}
2244
2244
2245
.m880 {
2245
.m880 {
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl (+2 lines)
Lines 1132-1142 Link Here
1132
                        <xsl:choose>
1132
                        <xsl:choose>
1133
                            <xsl:when test="@ind2=0">
1133
                            <xsl:when test="@ind2=0">
1134
                                <xsl:call-template name="subfieldSelectSpan">
1134
                                <xsl:call-template name="subfieldSelectSpan">
1135
                                    <xsl:with-param name="newline">1</xsl:with-param>
1135
                                    <xsl:with-param name="codes">trug</xsl:with-param>
1136
                                    <xsl:with-param name="codes">trug</xsl:with-param>
1136
                                </xsl:call-template>
1137
                                </xsl:call-template>
1137
                            </xsl:when>
1138
                            </xsl:when>
1138
                            <xsl:otherwise>
1139
                            <xsl:otherwise>
1139
                                <xsl:call-template name="subfieldSelectSpan">
1140
                                <xsl:call-template name="subfieldSelectSpan">
1141
                                    <xsl:with-param name="newline">1</xsl:with-param>
1140
                                    <xsl:with-param name="codes">atrug</xsl:with-param>
1142
                                    <xsl:with-param name="codes">atrug</xsl:with-param>
1141
                                </xsl:call-template>
1143
                                </xsl:call-template>
1142
                            </xsl:otherwise>
1144
                            </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