summaryrefslogtreecommitdiffstats
path: root/app/views/projects/activity.rhtml
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-03-05 08:25:22 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-03-05 08:25:22 +0000
commit942091f9e844f673240d75c27f4c6d2167a664e1 (patch)
tree1f27b4f8c26722b66f95dae8adeeeb40ed7513fa /app/views/projects/activity.rhtml
parent8ea2ecb983c2a48c1a8ec5bb680f711829a91e0c (diff)
downloadredmine-942091f9e844f673240d75c27f4c6d2167a664e1.tar.gz
redmine-942091f9e844f673240d75c27f4c6d2167a664e1.zip
Display links to Atom feeds (closes #496, #750).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1185 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/projects/activity.rhtml')
-rw-r--r--app/views/projects/activity.rhtml9
1 files changed, 6 insertions, 3 deletions
diff --git a/app/views/projects/activity.rhtml b/app/views/projects/activity.rhtml
index dce333f61..aca08fd6f 100644
--- a/app/views/projects/activity.rhtml
+++ b/app/views/projects/activity.rhtml
@@ -27,12 +27,15 @@
<% next_params = params.clone.update :year => (@month==12 ? @year+1 : @year), :month =>(@month==12 ? 1 : @month+1) %>
<%= link_to_remote ((@month==12 ? "#{month_name(1)} #{@year+1}" : "#{month_name(@month+1)}") + ' &#187;'),
{:update => "content", :url => next_params}, {:href => url_for(next_params)} %>
-&nbsp;
</div>
-<br />
+&nbsp;
+<p class="other-formats">
+ <%= l(:label_export_to) %>
+ <%= link_to 'Atom', params.merge(:format => :atom, :key => User.current.rss_key).delete_if{|k,v|k=="commit"}, :class => 'feed' %>
+</p>
<% content_for :header_tags do %>
-<%= auto_discovery_link_tag(:atom, params.merge({:format => 'atom', :year => nil, :month => nil, :key => User.current.rss_key})) %>
+<%= auto_discovery_link_tag(:atom, params.merge(:format => 'atom', :year => nil, :month => nil, :key => User.current.rss_key).delete_if{|k,v|k=="commit"}) %>
<% end %>
<% content_for :sidebar do %>