summaryrefslogtreecommitdiffstats
path: root/app/views/news
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-03-05 08:25:22 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-03-05 08:25:22 +0000
commit942091f9e844f673240d75c27f4c6d2167a664e1 (patch)
tree1f27b4f8c26722b66f95dae8adeeeb40ed7513fa /app/views/news
parent8ea2ecb983c2a48c1a8ec5bb680f711829a91e0c (diff)
downloadredmine-942091f9e844f673240d75c27f4c6d2167a664e1.tar.gz
redmine-942091f9e844f673240d75c27f4c6d2167a664e1.zip
Display links to Atom feeds (closes #496, #750).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1185 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/news')
-rw-r--r--app/views/news/index.rhtml5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/news/index.rhtml b/app/views/news/index.rhtml
index 369eaf1b1..87db8a5f7 100644
--- a/app/views/news/index.rhtml
+++ b/app/views/news/index.rhtml
@@ -39,6 +39,11 @@
<% end %>
<p class="pagination"><%= pagination_links_full @news_pages %></p>
+<p class="other-formats">
+<%= l(:label_export_to) %>
+<span><%= link_to 'Atom', {:format => 'atom', :key => User.current.rss_key}, :class => 'feed' %></span>
+</p>
+
<% content_for :header_tags do %>
<%= auto_discovery_link_tag(:atom, params.merge({:format => 'atom', :page => nil, :key => User.current.rss_key})) %>
<% end %>