summaryrefslogtreecommitdiffstats
path: root/app/views/my/blocks/_issuesreportedbyme.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/my/blocks/_issuesreportedbyme.html.erb')
-rw-r--r--app/views/my/blocks/_issuesreportedbyme.html.erb14
1 files changed, 5 insertions, 9 deletions
diff --git a/app/views/my/blocks/_issuesreportedbyme.html.erb b/app/views/my/blocks/_issuesreportedbyme.html.erb
index 06bbda7f8..2253af9af 100644
--- a/app/views/my/blocks/_issuesreportedbyme.html.erb
+++ b/app/views/my/blocks/_issuesreportedbyme.html.erb
@@ -1,15 +1,11 @@
-<h3><%=l(:label_reported_issues)%> (<%= Issue.visible.count(:conditions => { :author_id => User.current.id }) %>)</h3>
+<h3>
+ <%= link_to l(:label_reported_issues),
+ issues_path(:set_filter => 1, :status_id => '*', :author_id => 'me', :sort => 'updated_on:desc') %>
+ (<%= Issue.visible.count(:conditions => { :author_id => User.current.id }) %>)
+</h3>
<% reported_issues = issuesreportedbyme_items %>
<%= render :partial => 'issues/list_simple', :locals => { :issues => reported_issues } %>
-<% if reported_issues.length > 0 %>
-<p class="small"><%= link_to l(:label_issue_view_all), :controller => 'issues',
- :action => 'index',
- :set_filter => 1,
- :status_id => '*',
- :author_id => 'me',
- :sort => 'updated_on:desc' %></p>
-<% end %>
<% content_for :header_tags do %>
<%= auto_discovery_link_tag(:atom,