summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-08-31 21:43:13 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-08-31 21:43:13 +0000
commitc6ac590d17b5a5b9cd2c6bb518c3af8d15a5e146 (patch)
treecd9443377afd981cd522607f12e6f57a9b8e36ef /app
parent1281d99f3057c391e6523d21ac6dee6fefba41ca (diff)
downloadredmine-c6ac590d17b5a5b9cd2c6bb518c3af8d15a5e146.tar.gz
redmine-c6ac590d17b5a5b9cd2c6bb518c3af8d15a5e146.zip
Added 'reported by me' and 'assigned to me' issue feeds on 'My page'.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@688 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/views/my/blocks/_issuesassignedtome.rhtml7
-rw-r--r--app/views/my/blocks/_issuesreportedbyme.rhtml7
2 files changed, 14 insertions, 0 deletions
diff --git a/app/views/my/blocks/_issuesassignedtome.rhtml b/app/views/my/blocks/_issuesassignedtome.rhtml
index 9b97cb39d..4f020b4ca 100644
--- a/app/views/my/blocks/_issuesassignedtome.rhtml
+++ b/app/views/my/blocks/_issuesassignedtome.rhtml
@@ -8,3 +8,10 @@
<% if assigned_issues.length > 0 %>
<p class="small"><%= link_to l(:label_issue_view_all), :controller => 'issues', :action => 'index', :set_filter => 1, :assigned_to_id => 'me' %></p>
<% end %>
+
+<% content_for :header_tags do %>
+<%= auto_discovery_link_tag(:atom,
+ {:controller => 'issues', :action => 'index', :set_filter => 1,
+ :assigned_to_id => 'me', :format => 'atom', :key => User.current.rss_key},
+ {:title => l(:label_assigned_to_me_issues)}) %>
+<% end %>
diff --git a/app/views/my/blocks/_issuesreportedbyme.rhtml b/app/views/my/blocks/_issuesreportedbyme.rhtml
index a0770846c..317aebbfc 100644
--- a/app/views/my/blocks/_issuesreportedbyme.rhtml
+++ b/app/views/my/blocks/_issuesreportedbyme.rhtml
@@ -8,3 +8,10 @@
<% if reported_issues.length > 0 %>
<p class="small"><%= link_to l(:label_issue_view_all), :controller => 'issues', :action => 'index', :set_filter => 1, :author_id => 'me' %></p>
<% end %>
+
+<% content_for :header_tags do %>
+<%= auto_discovery_link_tag(:atom,
+ {:controller => 'issues', :action => 'index', :set_filter => 1,
+ :author_id => 'me', :format => 'atom', :key => User.current.rss_key},
+ {:title => l(:label_reported_issues)}) %>
+<% end %>