diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/feeds/history.rxml | 2 | ||||
-rw-r--r-- | app/views/feeds/issues.rxml | 2 | ||||
-rw-r--r-- | app/views/projects/show.rhtml | 13 | ||||
-rw-r--r-- | app/views/welcome/index.rhtml | 5 |
4 files changed, 17 insertions, 5 deletions
diff --git a/app/views/feeds/history.rxml b/app/views/feeds/history.rxml index b7e5a3509..9894412cc 100644 --- a/app/views/feeds/history.rxml +++ b/app/views/feeds/history.rxml @@ -4,7 +4,7 @@ xml.rss "version" => "2.0", "xmlns:dc" => "http://purl.org/dc/elements/1.1/" do xml.title @title xml.link url_for(:controller => 'welcome', :only_path => false) xml.pubDate CGI.rfc1123_date(@journals.first ? @journals.first.created_on : Time.now) - xml.description l(:label_reported_issues) + xml.description l(:label_changes_details) @journals.each do |journal| issue = journal.issue xml.item do diff --git a/app/views/feeds/issues.rxml b/app/views/feeds/issues.rxml index fb120b7cb..70398f421 100644 --- a/app/views/feeds/issues.rxml +++ b/app/views/feeds/issues.rxml @@ -17,4 +17,4 @@ xml.rss "version" => "2.0", "xmlns:dc" => "http://purl.org/dc/elements/1.1/" do end end end -end
\ No newline at end of file +end diff --git a/app/views/projects/show.rhtml b/app/views/projects/show.rhtml index 354568f97..9419fb2a1 100644 --- a/app/views/projects/show.rhtml +++ b/app/views/projects/show.rhtml @@ -56,4 +56,15 @@ <p class="textcenter"><small><%= link_to l(:label_news_view_all), :controller => 'projects', :action => 'list_news', :id => @project %></small></p> </div> <% end %> -</div>
\ No newline at end of file +</div> + +<% content_for :header_tags do %> +<%= auto_discovery_link_tag(:rss, {:controller => 'feeds', :action => 'issues', :project_id => @project, :key => @key}, {:title => l(:label_reported_issues)}) %> +<%= auto_discovery_link_tag(:atom, {:controller => 'feeds', :action => 'issues', :project_id => @project, :key => @key, :format => 'atom'}, {:title => l(:label_reported_issues)}) %> + +<%= auto_discovery_link_tag(:rss, {:controller => 'feeds', :action => 'history', :project_id => @project, :key => @key }, {:title => l(:label_changes_details)}) %> +<%= auto_discovery_link_tag(:atom, {:controller => 'feeds', :action => 'history', :project_id => @project, :key => @key, :format => 'atom'}, {:title => l(:label_changes_details)}) %> + +<%= auto_discovery_link_tag(:rss, {:controller => 'feeds', :action => 'news', :project_id => @project, :key => @key}, {:title => l(:label_news_latest)}) %> +<%= auto_discovery_link_tag(:atom, {:controller => 'feeds', :action => 'news', :project_id => @project, :key => @key, :format => 'atom'}, {:title => l(:label_news_latest)}) %> +<% end %> diff --git a/app/views/welcome/index.rhtml b/app/views/welcome/index.rhtml index 9c73ab863..b91efec28 100644 --- a/app/views/welcome/index.rhtml +++ b/app/views/welcome/index.rhtml @@ -23,5 +23,6 @@ </div> <% content_for :header_tags do %> -<%= auto_discovery_link_tag(:rss, {:controller => 'feeds' , :action => 'news' }) %> -<% end %>
\ No newline at end of file +<%= auto_discovery_link_tag(:rss, {:controller => 'feeds', :action => 'news', :key => @key}, {:title => l(:label_news_latest)}) %> +<%= auto_discovery_link_tag(:atom, {:controller => 'feeds', :action => 'news', :key => @key, :format => 'atom'}, {:title => l(:label_news_latest)}) %> +<% end %> |