From d635fff3f5402681fa612f1c1d8eaeef0ff7140c Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Sat, 19 Jun 2010 17:44:59 +0000 Subject: [PATCH] Add ATOM auto discovery link to the Projects list. #5317 Contributed by Greg Mefford git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3776 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/projects/index.rhtml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/views/projects/index.rhtml b/app/views/projects/index.rhtml index 11e9bcd33..e47e55243 100644 --- a/app/views/projects/index.rhtml +++ b/app/views/projects/index.rhtml @@ -1,3 +1,7 @@ +<% content_for :header_tags do %> + <%= auto_discovery_link_tag(:atom, {:action => 'index', :format => 'atom', :key => User.current.rss_key}) %> +<% end %> +
<%= link_to(l(:label_project_new), {:controller => 'projects', :action => 'add'}, :class => 'icon icon-add') + ' |' if User.current.allowed_to?(:add_project, nil, :global => true) %> <%= link_to(l(:label_issue_view_all), { :controller => 'issues' }) + ' |' if User.current.allowed_to?(:view_issues, nil, :global => true) %>