修改发送附件人名样式的问题

This commit is contained in:
daiao 2016-09-14 16:07:43 +08:00
parent e508cba951
commit 5d8ed8c054
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
</span>
<% user_name = attachment.author.show_name.empty? ? attachment.author : attachment.author.show_name %>
<span class="author" title="<%= user_name %>">
<%= link_to h(truncate(user_name, length: 15, omission: '...')),user_path(attachment.author),:class => "c_orange" %>,
<%= link_to h(truncate(user_name, length: 15, omission: '...')),user_path(attachment.author),:class => "linkBlue2" %>,
<%= format_time(attachment.created_on) %>
</span>
</div>