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

(-)a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss (+25 lines)
Lines 540-545 th { Link Here
540
    padding: 4px 8px;
540
    padding: 4px 8px;
541
}
541
}
542
542
543
#rssnews-container {
544
    font-size: 90%;
545
    padding: .5em 0;
546
}
547
548
.rsssearchlink {
549
    &:hover {
550
        text-decoration: none;
551
    }
552
}
553
554
.fa {
555
    &.fa-rss {
556
        background: linear-gradient(135deg, #DA5E2A 0%, #FA9C39 50%, #DA5E2A 100%);
557
        border-radius: 3px;
558
        color: #FFF;
559
        padding: 2px 3px;
560
        text-shadow: 1px 0 1px rgba(0, 0, 0, .25);
561
562
        &.rsssearchicon {
563
            font-size: 90%;
564
        }
565
    }
566
}
567
543
#opacheader {
568
#opacheader {
544
    background-color: #fcf9fc;
569
    background-color: #fcf9fc;
545
}
570
}
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt (-1 / +2 lines)
Lines 90-96 Link Here
90
90
91
            <div id="rssnews-container">
91
            <div id="rssnews-container">
92
                <!-- Logged in users have a branch code or it could be explicitly set -->
92
                <!-- Logged in users have a branch code or it could be explicitly set -->
93
                <a href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-news-rss.pl?branchcode=[% branchcode | uri %]"><img src="[% interface | html %]/[% theme | html %]/images/feed-icon-16x16.png"></a>
93
                <a href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-news-rss.pl?branchcode=[% branchcode | uri %]"><i class="fa fa-rss"></i>
94
                [% IF Branches.all.size == 1 %]
94
                [% IF Branches.all.size == 1 %]
95
                    [% IF branchcode %]
95
                    [% IF branchcode %]
96
                        RSS feed for [% Branches.GetName( branchcode ) | html %] library news.
96
                        RSS feed for [% Branches.GetName( branchcode ) | html %] library news.
Lines 104-109 Link Here
104
                        RSS feed for system-wide library news.
104
                        RSS feed for system-wide library news.
105
                    [% END %]
105
                    [% END %]
106
                [% END %]
106
                [% END %]
107
                </a>
107
            </div>
108
            </div>
108
109
109
            [% END %] <!-- single news item -->
110
            [% END %] <!-- single news item -->
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt (-2 / +7 lines)
Lines 55-61 Link Here
55
                        <strong>No results found!</strong>
55
                        <strong>No results found!</strong>
56
                        <p>
56
                        <p>
57
                            [% IF ( searchdesc ) %]
57
                            [% IF ( searchdesc ) %]
58
                                No results found for that in [% LibraryName | html %] catalog. <a href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-search.pl?[% query_cgi | $raw %][% limit_cgi | $raw %]&amp;format=rss2" class="rsssearchlink noprint"><img src="[% interface | html %]/[% theme | html %]/images/feed-icon-16x16.png" alt="Subscribe to this search" title="Subscribe to this search" border="0" class="rsssearchicon"/></a>
58
                                No results found for that in [% LibraryName | html %] catalog.
59
                                <a href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-search.pl?[% query_cgi | $raw %][% limit_cgi | $raw %]&amp;format=rss2" class="rsssearchlink noprint">
60
                                    <i class="fa fa-rss rsssearchicon" title="Subscribe to this search"></i>
61
                                </a>
59
                            [% ELSE %]
62
                            [% ELSE %]
60
                                You did not specify any search criteria.
63
                                You did not specify any search criteria.
61
                            [% END %]
64
                            [% END %]
Lines 99-105 Link Here
99
                                [% END %]
102
                                [% END %]
100
                            ).
103
                            ).
101
                        [% END %]
104
                        [% END %]
102
                        <a href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-search.pl?[% query_cgi | $raw %][% limit_cgi | $raw %]&amp;count=[% countrss | uri %]&amp;sort_by=acqdate_dsc&amp;format=rss2" class="rsssearchlink noprint"><img src="[% interface | html %]/[% theme | html %]/images/feed-icon-16x16.png" alt="Subscribe to this search" title="Subscribe to this search" class="rsssearchicon"/></a>
105
                        <a href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-search.pl?[% query_cgi | $raw %][% limit_cgi | $raw %]&amp;format=rss2" class="rsssearchlink noprint">
106
                            <i class="fa fa-rss rsssearchicon" title="Subscribe to this search"></i>
107
                        </a>
103
                    [% END # / IF total %]
108
                    [% END # / IF total %]
104
                    </p>
109
                    </p>
105
                [% END # / IF searchdesc %]
110
                [% END # / IF searchdesc %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt (-2 / +14 lines)
Lines 71-77 Link Here
71
                                                    <tr>
71
                                                    <tr>
72
                                                        <td><input type="checkbox" name="id" value="[% s.id | html %]" /></td>
72
                                                        <td><input type="checkbox" name="id" value="[% s.id | html %]" /></td>
73
                                                        <td><span title="[% s.time | html %]">[% s.time |$KohaDates  with_hours => 1 %]</span></td>
73
                                                        <td><span title="[% s.time | html %]">[% s.time |$KohaDates  with_hours => 1 %]</span></td>
74
                                                        <td><a href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-search.pl?[% query_cgi | $raw %][% limit_cgi | $raw %]&amp;[% s.query_cgi | $raw %]&amp;count=[% countrss | uri %]&amp;sort_by=acqdate_dsc&amp;format=rss2" class="rsssearchlink"><img src="[% interface | html %]/[% theme | html %]/images/feed-icon-16x16.png" alt="Subscribe to this search" title="Subscribe to this search" class="rsssearchicon"/></a> <a href="/cgi-bin/koha/opac-search.pl?[% s.query_cgi | $raw %]">[% s.query_desc | html %]</a></td>
74
                                                        <td>
75
                                                            <a href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-search.pl?[% query_cgi | $raw %][% limit_cgi | $raw %]&amp;[% s.query_cgi | $raw %]&amp;count=[% countrss | uri %]&amp;sort_by=acqdate_dsc&amp;format=rss2" class="rsssearchlink">
76
                                                                <i class="fa fa-rss rsssearchicon" title="Subscribe to this search"></i>
77
                                                            </a>
78
                                                            <a href="/cgi-bin/koha/opac-search.pl?[% s.query_cgi | $raw %]">[% s.query_desc | html %]</a>
79
                                                        </td>
75
                                                        <td>[% s.total | html %]</td>
80
                                                        <td>[% s.total | html %]</td>
76
                                                    </tr>
81
                                                    </tr>
77
                                                [% END %]
82
                                                [% END %]
Lines 111-117 Link Here
111
                                                <tr>
116
                                                <tr>
112
                                                    <td><input type="checkbox" name="id" value="[% s.id | html %]" /></td>
117
                                                    <td><input type="checkbox" name="id" value="[% s.id | html %]" /></td>
113
                                                    <td><span title="[% s.time | html %]">[% s.time |$KohaDates  with_hours => 1 %]</span></td>
118
                                                    <td><span title="[% s.time | html %]">[% s.time |$KohaDates  with_hours => 1 %]</span></td>
114
                                                    <td><a href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-search.pl?[% query_cgi | $raw %][% limit_cgi | $raw %]&amp;[% s.query_cgi | $raw %]&amp;count=[% countrss | uri %]&amp;sort_by=acqdate_dsc&amp;format=rss2" class="rsssearchlink"><img src="[% interface | html %]/[% theme | html %]/images/feed-icon-16x16.png" alt="Subscribe to this search" title="Subscribe to this search" class="rsssearchicon"/></a> <a href="/cgi-bin/koha/opac-search.pl?[% s.query_cgi | $raw %]">[% s.query_desc | html %]</a></td>
119
                                                    <td>
120
                                                        <a href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-search.pl?[% query_cgi | $raw %][% limit_cgi | $raw %]&amp;[% s.query_cgi | $raw %]&amp;count=[% countrss | uri %]&amp;sort_by=acqdate_dsc&amp;format=rss2" class="rsssearchlink">
121
                                                            <i class="fa fa-rss rsssearchicon" title="Subscribe to this search"></i>
122
                                                        </a>
123
                                                        <a href="/cgi-bin/koha/opac-search.pl?[% s.query_cgi | $raw %]">
124
                                                            [% s.query_desc | html %]
125
                                                        </a>
126
                                                    </td>
115
                                                    <td>[% s.total | html %]</td>
127
                                                    <td>[% s.total | html %]</td>
116
                                                </tr>
128
                                                </tr>
117
                                            [% END %]
129
                                            [% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt (-1 / +1 lines)
Lines 154-160 Link Here
154
                        <h3>
154
                        <h3>
155
                            [% shelf.shelfname | html %]
155
                            [% shelf.shelfname | html %]
156
                            <a href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-shelves.pl?rss=1&amp;op=view&amp;shelfnumber=[% shelf.shelfnumber | uri %]" class="rss-list-link noprint">
156
                            <a href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-shelves.pl?rss=1&amp;op=view&amp;shelfnumber=[% shelf.shelfnumber | uri %]" class="rss-list-link noprint">
157
                                <img src="[% interface | html %]/[% theme | html %]/images/feed-icon-16x16.png" alt="Subscribe to this list" title="Subscribe to this list" border="0" class="rsssearchicon"/>
157
                                <i class="fa fa-rss rsssearchicon" title="Subscribe to this list"></i>
158
                            </a>
158
                            </a>
159
                        </h3>
159
                        </h3>
160
160
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews.tt (-1 / +1 lines)
Lines 29-35 Link Here
29
                    <div class="span12">
29
                    <div class="span12">
30
                [% END %]
30
                [% END %]
31
                   <div id="showreviews" class="searchresults maincontent">
31
                   <div id="showreviews" class="searchresults maincontent">
32
                        <h3>Recent comments <a href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-showreviews.pl?format=rss" class="rsssearchlink"><img src="[% interface | html %]/[% theme | html %]/images/feed-icon-16x16.png" alt="Subscribe to recent comments" title="Subscribe to recent comments" border="0" class="rsssearchicon"/></a></h3>
32
                        <h3>Recent comments <a href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-showreviews.pl?format=rss" class="rsssearchlink"><i class="fa fa-rss rsssearchicon" title="Subscribe to recent comments"></i></a></h3>
33
                        <table class="table table-striped">
33
                        <table class="table table-striped">
34
                            [% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %]
34
                            [% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %]
35
                            [% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %]
35
                            [% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %]

Return to bug 22568