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

(-)a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss (+7 lines)
Lines 26-31 a { Link Here
26
        }
26
        }
27
    }
27
    }
28
28
29
    &.authlink {
30
        background-color: #e6f0f2;
31
        border-radius: 5px;
32
        display: inline-block;
33
        padding: 2px 4px;
34
    }
35
29
    &.btn {
36
    &.btn {
30
        &:link,
37
        &:link,
31
        &:visited {
38
        &:visited {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt (-8 lines)
Lines 106-119 Link Here
106
                            [% subfiel.marc_value | html %]
106
                            [% subfiel.marc_value | html %]
107
                        [% END %]
107
                        [% END %]
108
                    </span>
108
                    </span>
109
                    [% IF ( subfiel.link ) %]
110
                        <a href="/cgi-bin/koha/catalogue/search.pl?op=do_search&amp;marclist=[% subfiel.link | uri %]&amp;operator==&amp;type=intranet&amp;value=[% subfiel.marc_value |url %]">
111
                            <img src="[% interface | html %]/[% theme | html %]/images/filefind.png" height="15" title="Search on [% subfiel.marc_value | html %]">
112
                        </a>
113
                    [% END %]
114
                    [% IF ( subfiel.authority ) %]
115
                        <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% subfiel.authority | uri %]" class="button">Auth</a>
116
                    [% END %]
117
                </div> <!-- /.subfield_content.marc_field -->
109
                </div> <!-- /.subfield_content.marc_field -->
118
            </div> <!-- /.auth_subfield -->
110
            </div> <!-- /.auth_subfield -->
119
        [% END %]
111
        [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt (-3 / +5 lines)
Lines 99-110 Link Here
99
                    <span class="desc" title="[% subfiel.long_desc | html %]">[% subfiel.short_desc | html %]</span></span>
99
                    <span class="desc" title="[% subfiel.long_desc | html %]">[% subfiel.short_desc | html %]</span></span>
100
                    [% IF ( subfiel.is_url ) %]<a href="[% subfiel.marc_value | url %]">[% subfiel.marc_value | html %]</a>[% ELSE %][% subfiel.marc_value | html %][% END %]
100
                    [% IF ( subfiel.is_url ) %]<a href="[% subfiel.marc_value | url %]">[% subfiel.marc_value | html %]</a>[% ELSE %][% subfiel.marc_value | html %][% END %]
101
                    [% IF ( subfiel.link ) %]
101
                    [% IF ( subfiel.link ) %]
102
                        <a href="/cgi-bin/koha/catalogue/search.pl?op=do_search&amp;idx=[% subfiel.link | uri %],phr&amp;type=intranet&amp;q=[% subfiel.link | uri %],phr:[% subfiel.marc_value |uri %]">
102
                        <a class="authlink" href="/cgi-bin/koha/catalogue/search.pl?op=do_search&amp;idx=[% subfiel.link | uri %],phr&amp;type=intranet&amp;q=[% subfiel.link | uri %],phr:[% subfiel.marc_value |uri %]">
103
                            <img src="[% interface | html %]/[% theme | html %]/img/filefind.png" height="15" title="Search on [% subfiel.marc_value | html %]" alt="Search on [% subfiel.marc_value | html %]" />
103
                            <i class="fa fa-link" aria-label="Search on [% subfiel.marc_value | html %]" title="Search on [% subfiel.marc_value | html %]"></i>
104
                        </a>
104
                        </a>
105
                    [% END %]
105
                    [% END %]
106
                    [% IF ( subfiel.authority ) %]
106
                    [% IF ( subfiel.authority ) %]
107
                        <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% subfiel.authority | uri %]" class="button">Auth</a>
107
                        <a class="authlink" href="/cgi-bin/koha/authorities/detail.pl?authid=[% subfiel.authority | uri %]">
108
                            <i class="fa fa-search" area-label="View authority record" title="View authority record"></i>
109
                        </a>
108
                    [% END %]
110
                    [% END %]
109
                </p>
111
                </p>
110
            [% END %]
112
            [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl (-10 / +6 lines)
Lines 688-698 Link Here
688
                <xsl:text> </xsl:text>
688
                <xsl:text> </xsl:text>
689
                <a class='authlink'>
689
                <a class='authlink'>
690
                    <xsl:attribute name="href">/cgi-bin/koha/authorities/detail.pl?authid=<xsl:value-of select="str:encode-uri(marc:subfield[@code=9], true())"/></xsl:attribute>
690
                    <xsl:attribute name="href">/cgi-bin/koha/authorities/detail.pl?authid=<xsl:value-of select="str:encode-uri(marc:subfield[@code=9], true())"/></xsl:attribute>
691
                    <xsl:element name="img">
691
                    <xsl:element name="i">
692
                        <xsl:attribute name="src">/intranet-tmpl/prog/img/filefind.png</xsl:attribute>
692
                        <xsl:attribute name="class">fa fa-search</xsl:attribute>
693
                        <xsl:attribute name="alt"></xsl:attribute>
693
                        <xsl:attribute name="aria-label">View authority record</xsl:attribute>
694
                        <xsl:attribute name="height">15</xsl:attribute>
695
                        <xsl:attribute name="width">15</xsl:attribute>
696
                    </xsl:element>
694
                    </xsl:element>
697
                </a>
695
                </a>
698
            </xsl:if>
696
            </xsl:if>
Lines 740-750 Link Here
740
                        <xsl:text> </xsl:text>
738
                        <xsl:text> </xsl:text>
741
                        <a class='authlink'>
739
                        <a class='authlink'>
742
                            <xsl:attribute name="href">/cgi-bin/koha/authorities/detail.pl?authid=<xsl:value-of select="str:encode-uri(marc:subfield[@code=9], true())"/></xsl:attribute>
740
                            <xsl:attribute name="href">/cgi-bin/koha/authorities/detail.pl?authid=<xsl:value-of select="str:encode-uri(marc:subfield[@code=9], true())"/></xsl:attribute>
743
                            <xsl:element name="img">
741
                            <xsl:element name="i">
744
                                <xsl:attribute name="src">/intranet-tmpl/prog/img/filefind.png</xsl:attribute>
742
                                <xsl:attribute name="class">fa fa-search</xsl:attribute>
745
                                <xsl:attribute name="alt"></xsl:attribute>
743
                                <xsl:attribute name="aria-label">View authority record</xsl:attribute>
746
                                <xsl:attribute name="height">15</xsl:attribute>
747
                                <xsl:attribute name="width">15</xsl:attribute>
748
                            </xsl:element>
744
                            </xsl:element>
749
                        </a>
745
                        </a>
750
                    </xsl:if>
746
                    </xsl:if>

Return to bug 28993