mirror of
https://github.com/meineerde/redmine.git
synced 2025-10-17 17:01:01 +00:00
Link to assigned issues on user profiles (#3398).
Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@14717 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
500b0c6aff
commit
2fd9aa5f66
@ -23,6 +23,16 @@
|
||||
<% end %>
|
||||
</ul>
|
||||
|
||||
<h3><%=l(:label_issue_plural)%></h3>
|
||||
<ul>
|
||||
<li><%= link_to l(:label_assigned_issues),
|
||||
issues_path(:set_filter => 1, :assigned_to_id => 'me', :sort => 'priority:desc,updated_on:desc') %>:
|
||||
<%= Issue.visible.open.where(:assigned_to_id => ([@user.id] + @user.group_ids)).count %>
|
||||
<li><%= link_to l(:label_reported_issues),
|
||||
issues_path(:set_filter => 1, :status_id => '*', :author_id => @user.id) %>:
|
||||
<%= Issue.visible.where(:author_id => @user.id).count %>
|
||||
</ul>
|
||||
|
||||
<% unless @memberships.empty? %>
|
||||
<h3><%=l(:label_project_plural)%></h3>
|
||||
<ul>
|
||||
@ -42,10 +52,6 @@
|
||||
:action => 'index', :id => nil, :user_id => @user,
|
||||
:from => @events_by_day.keys.first %></h3>
|
||||
|
||||
<p>
|
||||
<%=l(:label_reported_issues)%>: <%= Issue.where(:author_id => @user.id).count %>
|
||||
</p>
|
||||
|
||||
<div id="activity">
|
||||
<% @events_by_day.keys.sort.reverse.each do |day| %>
|
||||
<h4><%= format_activity_day(day) %></h4>
|
||||
|
||||
@ -572,6 +572,7 @@ en:
|
||||
label_logout: Sign out
|
||||
label_help: Help
|
||||
label_reported_issues: Reported issues
|
||||
label_assigned_issues: Assigned issues
|
||||
label_assigned_to_me_issues: Issues assigned to me
|
||||
label_last_login: Last connection
|
||||
label_registered_on: Registered on
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user