summaryrefslogtreecommitdiffstats
path: root/app/views/boards
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-03-09 20:16:48 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-03-09 20:16:48 +0000
commit76a29ae33719739586b18d465ba5d88358184655 (patch)
tree432ed767f836b0fe646f136d093b14417a6c5a78 /app/views/boards
parent4f35ec97e88c4ad2017d2797d097430eaceaa427 (diff)
downloadredmine-76a29ae33719739586b18d465ba5d88358184655.tar.gz
redmine-76a29ae33719739586b18d465ba5d88358184655.zip
Adds atom feed link on boards index.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1224 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/boards')
-rw-r--r--app/views/boards/index.rhtml12
1 files changed, 11 insertions, 1 deletions
diff --git a/app/views/boards/index.rhtml b/app/views/boards/index.rhtml
index cd4e85e9a..8d4560653 100644
--- a/app/views/boards/index.rhtml
+++ b/app/views/boards/index.rhtml
@@ -1,6 +1,6 @@
<h2><%= l(:label_board_plural) %></h2>
-<table class="list">
+<table class="list boards">
<thead><tr>
<th><%= l(:label_board) %></th>
<th><%= l(:label_topic_plural) %></th>
@@ -28,3 +28,13 @@
<% end %>
</tbody>
</table>
+
+<p class="other-formats">
+<%= l(:label_export_to) %>
+<span><%= link_to 'Atom', {:controller => 'projects', :action => 'activity', :id => @project, :format => 'atom', :show_messages => 1, :key => User.current.rss_key},
+ :class => 'feed' %></span>
+</p>
+
+<% content_for :header_tags do %>
+ <%= auto_discovery_link_tag(:atom, {:controller => 'projects', :action => 'activity', :id => @project, :format => 'atom', :show_messages => 1, :key => User.current.rss_key}) %>
+<% end %>