summaryrefslogtreecommitdiffstats
path: root/app/views/projects
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-06-19 17:44:59 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-06-19 17:44:59 +0000
commitd635fff3f5402681fa612f1c1d8eaeef0ff7140c (patch)
treec506355f0bf8f18c7d59806590ae359171033862 /app/views/projects
parent43fabab9501e93fdd3d10b4fb5336d77f7313bcb (diff)
downloadredmine-d635fff3f5402681fa612f1c1d8eaeef0ff7140c.tar.gz
redmine-d635fff3f5402681fa612f1c1d8eaeef0ff7140c.zip
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
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/index.rhtml4
1 files changed, 4 insertions, 0 deletions
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 %>
+
<div class="contextual">
<%= 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) %>