Isuue详情页面附件上传者由登录名修改为姓名

This commit is contained in:
daiao 2016-09-14 17:27:21 +08:00
parent 431f5ae492
commit bac1dc7779
1 changed files with 2 additions and 2 deletions

View File

@ -91,8 +91,8 @@
 
<% end %>
<% if options[:author] %>
<span class="author" title="<%= attachment.author%>">
<%= link_to h(truncate(attachment.author.name, length: 10, omission: '...')),user_path(attachment.author),:class => "link-blue" %>,
<span class="author" title="<%= attachment.author.show_name%>">
<%= link_to h(truncate(attachment.author.show_name, length: 10, omission: '...')),user_path(attachment.author),:class => "link-blue" %>,
<%= format_time(attachment.created_on) %>
</span>
<% end %>