From: Eric Davis Date: Sat, 19 Jun 2010 17:44:59 +0000 (+0000) Subject: Add ATOM auto discovery link to the Projects list. #5317 X-Git-Tag: 1.0.0~57 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d635fff3f5402681fa612f1c1d8eaeef0ff7140c;p=redmine.git 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 --- 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) %>