summaryrefslogtreecommitdiffstats
path: root/app/views/timelog
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-06-17 20:01:15 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-06-17 20:01:15 +0000
commit062a2d6f5d6ebdc74d5586cb151fd07a219b1b31 (patch)
treedd1ed26471c73532688ec74ed72e1eaeeb8a47f7 /app/views/timelog
parentd991e46f122d084c9465073256e7750b24898d49 (diff)
downloadredmine-062a2d6f5d6ebdc74d5586cb151fd07a219b1b31.tar.gz
redmine-062a2d6f5d6ebdc74d5586cb151fd07a219b1b31.zip
Adds atom feed on time entries details (#1479).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1560 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/timelog')
-rw-r--r--app/views/timelog/details.rhtml5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/timelog/details.rhtml b/app/views/timelog/details.rhtml
index f02da9959..f111cbfc0 100644
--- a/app/views/timelog/details.rhtml
+++ b/app/views/timelog/details.rhtml
@@ -24,8 +24,13 @@
<p class="other-formats">
<%= l(:label_export_to) %>
+<span><%= link_to 'Atom', {:issue_id => @issue, :format => 'atom', :key => User.current.rss_key}, :class => 'feed' %></span>
<span><%= link_to 'CSV', params.merge(:format => 'csv'), :class => 'csv' %></span>
</p>
<% end %>
<% html_title l(:label_spent_time), l(:label_details) %>
+
+<% content_for :header_tags do %>
+ <%= auto_discovery_link_tag(:atom, {:issue_id => @issue, :format => 'atom', :key => User.current.rss_key}, :title => l(:label_spent_time)) %>
+<% end %>