summaryrefslogtreecommitdiffstats
path: root/app/views/boards
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-01-29 13:53:17 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-01-29 13:53:17 +0000
commitf1aa0df32666931f58b34a21d2e7acf43271fc7a (patch)
tree890de94871f94205851199549e61055ba13d241a /app/views/boards
parentbf76988ebc3efdf5753ee8ae275a2d24b4ab604e (diff)
downloadredmine-f1aa0df32666931f58b34a21d2e7acf43271fc7a.tar.gz
redmine-f1aa0df32666931f58b34a21d2e7acf43271fc7a.zip
Adds an helper to render other formats download links.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2333 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/boards')
-rw-r--r--app/views/boards/index.rhtml8
1 files changed, 3 insertions, 5 deletions
diff --git a/app/views/boards/index.rhtml b/app/views/boards/index.rhtml
index 655352a96..440a77412 100644
--- a/app/views/boards/index.rhtml
+++ b/app/views/boards/index.rhtml
@@ -29,11 +29,9 @@
</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>
+<% other_formats_links do |f| %>
+ <%= f.link_to 'Atom', :url => {:controller => 'projects', :action => 'activity', :id => @project, :show_messages => 1, :key => User.current.rss_key} %>
+<% end %>
<% 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}) %>