Patch #19548 » link_to_issues.diff
| app/views/users/show.html.erb (working copy) | ||
|---|---|---|
|
:from => @events_by_day.keys.first %></h3>
|
||
|
<p>
|
||
|
<%=l(:label_reported_issues)%>: <%= Issue.where(:author_id => @user.id).count %>
|
||
|
<% reported_issues = Issue.where(:author_id => @user.id) -%>
|
||
|
<%=l(:label_reported_issues)%>:
|
||
|
<%= link_to_if(reported_issues.count > 0, l(:label_x_issues, :count => reported_issues.count), issues_path(:set_filter => 1, :status_id => '*', :author_id => @user.id)) %>
|
||
|
</p>
|
||
|
<div id="activity">
|
||