yuanke_cache v20160914_01
huang 9 years ago
commit aeaf99f79e

@ -11,7 +11,7 @@
</span> </span>
<% user_name = attachment.author.show_name.empty? ? attachment.author : attachment.author.show_name %> <% user_name = attachment.author.show_name.empty? ? attachment.author : attachment.author.show_name %>
<span class="author" title="<%= user_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) %> <%= format_time(attachment.created_on) %>
</span> </span>
</div> </div>

Loading…
Cancel
Save