summaryrefslogtreecommitdiffstats
path: root/app/views/versions
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-05-22 08:32:27 +0000
committerGo MAEDA <maeda@farend.jp>2019-05-22 08:32:27 +0000
commitfc51fd2c81191074476cc8c6fc2a954e3c032dc2 (patch)
treeb4174b29b26f4fa50bfb40756b5090428895e6a7 /app/views/versions
parentcfdd150da8261ccbb707379f114d909f0d68999b (diff)
downloadredmine-fc51fd2c81191074476cc8c6fc2a954e3c032dc2.tar.gz
redmine-fc51fd2c81191074476cc8c6fc2a954e3c032dc2.zip
Show assignee avatar in Roadmap and Version (#28510).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18189 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/versions')
-rw-r--r--app/views/versions/index.html.erb3
-rw-r--r--app/views/versions/show.html.erb1
2 files changed, 3 insertions, 1 deletions
diff --git a/app/views/versions/index.html.erb b/app/views/versions/index.html.erb
index 429bc5b92..ad5d5f425 100644
--- a/app/views/versions/index.html.erb
+++ b/app/views/versions/index.html.erb
@@ -28,8 +28,9 @@
<table class="list related-issues">
<caption><%= l(:label_related_issues) %></caption>
<% issues.each do |issue| -%>
- <tr class="hascontextmenu">
+ <tr class="issue hascontextmenu">
<td class="checkbox"><%= check_box_tag 'ids[]', issue.id, false, :id => nil %></td>
+ <td class="assigned_to"><%= assignee_avatar(issue.assigned_to, :size => 16) %></td>
<td class="subject"><%= link_to_issue(issue, :project => (@project != issue.project)) %></td>
<td class="buttons"><%= link_to_context_menu %></td>
</tr>
diff --git a/app/views/versions/show.html.erb b/app/views/versions/show.html.erb
index ad3ed2521..dc43d40b7 100644
--- a/app/views/versions/show.html.erb
+++ b/app/views/versions/show.html.erb
@@ -44,6 +44,7 @@
<%- @issues.each do |issue| -%>
<tr class="issue hascontextmenu">
<td class="checkbox"><%= check_box_tag 'ids[]', issue.id, false, :id => nil %></td>
+ <td class="assigned_to"><%= assignee_avatar(issue.assigned_to, :size => 16) %></td>
<td class="subject"><%= link_to_issue(issue, :project => (@project != issue.project)) %></td>
<td class="buttons"><%= link_to_context_menu %></td>
</tr>