Browse Source

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
tags/1.0.0
Eric Davis 14 years ago
parent
commit
d635fff3f5
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      app/views/projects/index.rhtml

+ 4
- 0
app/views/projects/index.rhtml View File

@@ -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) %>

Loading…
Cancel
Save