Bug 312928: Title RSS bug-list based on Saved Search name - Patch by Fr�d�ric Buclin <LpSolit@gmail.com> r/a=myk

This commit is contained in:
lpsolit%gmail.com 2005-11-19 01:29:23 +00:00
Родитель a179892cc3
Коммит a2c68709a8
2 изменённых файлов: 6 добавлений и 2 удалений

Просмотреть файл

@ -674,6 +674,9 @@ if ($format->{'extension'} eq 'ics') {
}
if ($format->{'extension'} eq 'rss') {
# The title of the RSS feed will be the same one as for the bug list.
$vars->{'title'} = $cgi->param('title');
# This is the list of fields that are needed by the rss filter.
my @required_rss_columns = (
'short_desc',

Просмотреть файл

@ -48,7 +48,7 @@
[% PROCESS global/header.html.tmpl
title = title
style = style
rsslink = "buglist.cgi?$urlquerypart&ctype=rss"
rsslink = "buglist.cgi?$urlquerypart&title=$title&ctype=rss"
%]
<div align="center">
@ -168,7 +168,8 @@
<a href="buglist.cgi?
[% urlquerypart FILTER html %]&amp;ctype=csv">CSV</a> |
<a href="buglist.cgi?
[% urlquerypart FILTER html %]&amp;ctype=rss">RSS</a> |
[% urlquerypart FILTER html %]&amp;title=
[%- title FILTER html %]&amp;ctype=rss">RSS</a> |
<a href="buglist.cgi?
[% urlquerypart FILTER html %]&amp;ctype=ics">iCalendar</a> |
<a href="colchange.cgi?