summaryrefslogtreecommitdiffstats
path: root/app/views/account/show.rhtml
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-11-30 12:18:59 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-11-30 12:18:59 +0000
commit9e5edfb7282c450108289364d90406af54b0ca82 (patch)
treeab01cbc744820d125329336832cf69bb5c7f4504 /app/views/account/show.rhtml
parentb8b473244c5dff86700a3420515e22e0846a788f (diff)
downloadredmine-9e5edfb7282c450108289364d90406af54b0ca82.tar.gz
redmine-9e5edfb7282c450108289364d90406af54b0ca82.zip
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
Diffstat (limited to 'app/views/account/show.rhtml')
-rw-r--r--app/views/account/show.rhtml9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/account/show.rhtml b/app/views/account/show.rhtml
index e7b0276f7..c86fa59c4 100644
--- a/app/views/account/show.rhtml
+++ b/app/views/account/show.rhtml
@@ -51,6 +51,15 @@
</dl>
<% end -%>
</div>
+
+<p class="other-formats">
+ <%= l(:label_export_to) %>
+ <%= link_to 'Atom', {:controller => 'projects', :action => 'activity', :user_id => @user, :format => :atom, :key => User.current.rss_key}, :class => 'feed' %>
+</p>
+
+<% 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 %>
</div>