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

dev_shcool
daiao 9 years ago
parent 431f5ae492
commit bac1dc7779

@ -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 %>

Loading…
Cancel
Save