diff options
author | lpsolit%gmail.com <> | 2005-11-19 09:29:22 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-11-19 09:29:22 +0000 |
commit | 29cf8805dac7281cb4f4e52ee48177a3a679a0c4 (patch) | |
tree | 46db6d517ecff58f40f408f0d6e226a129c84ab5 | |
parent | b1457ecffd7630f867974177c3f3313f4e08bb6b (diff) | |
download | bugs-29cf8805dac7281cb4f4e52ee48177a3a679a0c4.tar bugs-29cf8805dac7281cb4f4e52ee48177a3a679a0c4.tar.gz bugs-29cf8805dac7281cb4f4e52ee48177a3a679a0c4.tar.bz2 bugs-29cf8805dac7281cb4f4e52ee48177a3a679a0c4.tar.xz bugs-29cf8805dac7281cb4f4e52ee48177a3a679a0c4.zip |
Bug 312928: Title RSS bug-list based on Saved Search name - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=myk
-rwxr-xr-x | buglist.cgi | 3 | ||||
-rw-r--r-- | template/en/default/list/list.html.tmpl | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/buglist.cgi b/buglist.cgi index c46141638..2d24719b8 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -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', diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl index 01f7678fd..eb1f2799a 100644 --- a/template/en/default/list/list.html.tmpl +++ b/template/en/default/list/list.html.tmpl @@ -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 %]&ctype=csv">CSV</a> | <a href="buglist.cgi? - [% urlquerypart FILTER html %]&ctype=rss">RSS</a> | + [% urlquerypart FILTER html %]&title= + [%- title FILTER html %]&ctype=rss">RSS</a> | <a href="buglist.cgi? [% urlquerypart FILTER html %]&ctype=ics">iCalendar</a> | <a href="colchange.cgi? |