зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
a179892cc3
Коммит
a2c68709a8
|
@ -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 %]&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?
|
||||
|
|
Загрузка…
Ссылка в новой задаче