Adds atom feed link on boards index.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1224 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2008-03-09 20:16:48 +00:00
parent 4f35ec97e8
commit 76a29ae337
1 changed files with 11 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<h2><%= l(:label_board_plural) %></h2> <h2><%= l(:label_board_plural) %></h2>
<table class="list"> <table class="list boards">
<thead><tr> <thead><tr>
<th><%= l(:label_board) %></th> <th><%= l(:label_board) %></th>
<th><%= l(:label_topic_plural) %></th> <th><%= l(:label_topic_plural) %></th>
@ -28,3 +28,13 @@
<% end %> <% end %>
</tbody> </tbody>
</table> </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 %>