里程碑中添加 完成者姓名

This commit is contained in:
huang 2016-09-09 14:36:03 +08:00
parent b308100d3e
commit 4900ff5492
2 changed files with 2 additions and 1 deletions

View File

@ -423,7 +423,7 @@ module ApplicationHelper
else
s = link_to text, issue_path(issue), :class => "c_blue", :title => title
end
s << h(": #{subject}") if subject
s << h("<span style='width:450px;display:inline-block;' class='hidden'>: #{subject}</span>".html_safe) if subject
s = h("#{issue.project} - ") + s if options[:project]
s
end

View File

@ -47,6 +47,7 @@
<% issues.each do |issue| -%>
<li style="overflow:hidden">
<%= link_to_issue_version(issue, :project => (@project != issue.project)) %>
<span class="mr5 fr" >指派给:<%= link_to "#{User.find(issue.try(:assigned_to_id)).show_name}", user_path(issue.try(:assigned_to_id)), :class => "c_blue hidden" %></span>
</li>
<% end -%>
</ul>