Bug 1917 [QA Followup] - Use html filter, only show 'by' if author exists, change link title
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
parent
d90b6d2ba2
commit
503b8ffd68
2 changed files with 8 additions and 3 deletions
|
@ -4,12 +4,17 @@
|
||||||
|
|
||||||
<channel>
|
<channel>
|
||||||
<title>[% shelfname %]</title>
|
<title>[% shelfname %]</title>
|
||||||
<link>[% OPACBaseURL %]/cgi-bin/koha/opac-shelves.pl?rss=1&viewshelf=[% shelfnumber | html %]</link>
|
<link>[% OPACBaseURL %]/cgi-bin/koha/opac-shelves.pl?rss=1&viewshelf=[% shelfnumber %]</link>
|
||||||
<description>RSS feed for public list [% shelfname | html %]</description>
|
<description>RSS feed for public list [% shelfname | html %]</description>
|
||||||
|
|
||||||
[% FOREACH i IN itemsloop %]
|
[% FOREACH i IN itemsloop %]
|
||||||
<item>
|
<item>
|
||||||
<title>[% i.title %] by [% i.author %]</title>
|
<title>
|
||||||
|
[% i.title | html %]
|
||||||
|
[% IF i.author %]
|
||||||
|
by [% i.author | html %]
|
||||||
|
[% END %]
|
||||||
|
</title>
|
||||||
<link>[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% i.biblionumber %]</link>
|
<link>[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% i.biblionumber %]</link>
|
||||||
</item>
|
</item>
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
|
@ -154,7 +154,7 @@
|
||||||
<h3>
|
<h3>
|
||||||
[% shelfname |html %]
|
[% shelfname |html %]
|
||||||
<a href="[% OPACBaseURL %]/cgi-bin/koha/opac-shelves.pl?rss=1&viewshelf=[% shelfnumber | html %]" class="rss-list-link noprint">
|
<a href="[% OPACBaseURL %]/cgi-bin/koha/opac-shelves.pl?rss=1&viewshelf=[% shelfnumber | html %]" class="rss-list-link noprint">
|
||||||
<img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png" alt="Subscribe to this search" title="Subscribe to this search" border="0" class="rsssearchicon"/>
|
<img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png" alt="Subscribe to this list" title="Subscribe to this list" border="0" class="rsssearchicon"/>
|
||||||
</a>
|
</a>
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue