From 9e5edfb7282c450108289364d90406af54b0ca82 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 30 Nov 2008 12:18:59 +0000 Subject: [PATCH] Adds atom feed on user's account page. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2069 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/account/show.rhtml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app/views/account/show.rhtml b/app/views/account/show.rhtml index e7b0276f..c86fa59c 100644 --- a/app/views/account/show.rhtml +++ b/app/views/account/show.rhtml @@ -51,6 +51,15 @@ <% end -%> + +

+ <%= l(:label_export_to) %> + <%= link_to 'Atom', {:controller => 'projects', :action => 'activity', :user_id => @user, :format => :atom, :key => User.current.rss_key}, :class => 'feed' %> +

+ +<% content_for :header_tags do %> + <%= auto_discovery_link_tag(:atom, :controller => 'projects', :action => 'activity', :user_id => @user, :format => :atom, :key => User.current.rss_key) %> +<% end %> <% end %>