summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-04-24 16:51:07 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-04-24 16:51:07 +0000
commita7e32302a6c91c56e6511d1a44a64db07f53221d (patch)
treeae67ac4c2683b08b2b993dab23a6976c09bd0272 /app/views
parent6385217be04b2468f25e12700a39a3c6c6f0f832 (diff)
downloadredmine-a7e32302a6c91c56e6511d1a44a64db07f53221d.tar.gz
redmine-a7e32302a6c91c56e6511d1a44a64db07f53221d.zip
Adds single forum atom feed (#3181).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2682 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r--app/views/boards/show.rhtml8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/boards/show.rhtml b/app/views/boards/show.rhtml
index 011a25e06..7f1600af0 100644
--- a/app/views/boards/show.rhtml
+++ b/app/views/boards/show.rhtml
@@ -59,4 +59,12 @@
<p class="nodata"><%= l(:label_no_data) %></p>
<% end %>
+<% other_formats_links do |f| %>
+ <%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %>
+<% end %>
+
<% html_title h(@board.name) %>
+
+<% content_for :header_tags do %>
+ <%= auto_discovery_link_tag(:atom, {:format => 'atom', :key => User.current.rss_key}, :title => "#{@project}: #{@board}") %>
+<% end %>