去掉作业提交附件中用户名
This commit is contained in:
parent
57716e7efc
commit
9f44babff5
|
@ -7,8 +7,7 @@
|
||||||
</span>
|
</span>
|
||||||
<%= link_to(' '.html_safe, attachment_path(attachment, :format => 'js'), :method => 'delete', :remote => true, :title => '删除', :class => 'remove-upload fl', :confirm => l(:text_are_you_sure)) if attachment.id && User.current == attachment.author && status != 2 %>
|
<%= link_to(' '.html_safe, attachment_path(attachment, :format => 'js'), :method => 'delete', :remote => true, :title => '删除', :class => 'remove-upload fl', :confirm => l(:text_are_you_sure)) if attachment.id && User.current == attachment.author && status != 2 %>
|
||||||
<span class="postAttSize">(<%= number_to_human_size attachment.filesize %>)</span>
|
<span class="postAttSize">(<%= number_to_human_size attachment.filesize %>)</span>
|
||||||
<span class="author" title="<%= attachment.author%>">
|
<span class="author">
|
||||||
<%= link_to h(truncate(attachment.author.name, length: 10, omission: '...')),user_path(attachment.author),:class => "c_orange" %>,
|
|
||||||
<%= format_time(attachment.created_on) %>
|
<%= format_time(attachment.created_on) %>
|
||||||
</span>
|
</span>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
|
|
Loading…
Reference in New Issue