作业附件的用户名省略号太早
This commit is contained in:
parent
404d52b13b
commit
f90b25b230
|
@ -3,14 +3,14 @@
|
||||||
<div class="break_word">
|
<div class="break_word">
|
||||||
<span class="fl">
|
<span class="fl">
|
||||||
<span title="<%= attachment.filename %>" id="attachment_<%=attachment.id %>">
|
<span title="<%= attachment.filename %>" id="attachment_<%=attachment.id %>">
|
||||||
<%= link_to_short_attachment attachment,:length=> 58, :class => 'hidden link_file_a fl newsBlue mw400', :download => true -%>
|
<%= link_to_short_attachment attachment,:length=> 58, :class => 'hidden link_file_a fl newsBlue mw380', :download => true -%>
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
<span class="postAttSize">(
|
<span class="postAttSize">(
|
||||||
<%= number_to_human_size attachment.filesize %>)
|
<%= number_to_human_size attachment.filesize %>)
|
||||||
</span>
|
</span>
|
||||||
<span class="author" title="<%= attachment.author%>">
|
<span class="author" title="<%= attachment.author%>">
|
||||||
<%= link_to h(truncate(attachment.author.name, length: 10, omission: '...')),user_path(attachment.author),:class => "c_orange" %>,
|
<%= link_to h(truncate(attachment.author.name, length: 15, omission: '...')),user_path(attachment.author),:class => "c_orange" %>,
|
||||||
<%= format_time(attachment.created_on) %>
|
<%= format_time(attachment.created_on) %>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -419,6 +419,7 @@ a:hover.ping_sub{ background:#14a8b9;}
|
||||||
/*.ping_distop span a{ float:right; width:20px; height:20px; background:url(images/star.png) -24px 0 no-repeat; margin-right:3px;}*/
|
/*.ping_distop span a{ float:right; width:20px; height:20px; background:url(images/star.png) -24px 0 no-repeat; margin-right:3px;}*/
|
||||||
.list_style ol li{list-style-type: decimal;margin-left: 20px;}
|
.list_style ol li{list-style-type: decimal;margin-left: 20px;}
|
||||||
.list_style ul li{list-style-type: disc;margin-left: 20px;}
|
.list_style ul li{list-style-type: disc;margin-left: 20px;}
|
||||||
|
span.author { font-size: 0.9em; color: #888; }
|
||||||
|
|
||||||
/* 创建作品 work */
|
/* 创建作品 work */
|
||||||
.Newwork{ width:668px; height:418px;}
|
.Newwork{ width:668px; height:418px;}
|
||||||
|
|
|
@ -99,6 +99,7 @@ a.linkGrey6:hover {color:#ffffff !important;}
|
||||||
.mr40{ margin-right:40px !important;}
|
.mr40{ margin-right:40px !important;}
|
||||||
.mr65 {margin-right: 65px;}
|
.mr65 {margin-right: 65px;}
|
||||||
.mw20{ margin: 0 20px;}
|
.mw20{ margin: 0 20px;}
|
||||||
|
.mw380 {max-width: 380px !important;}
|
||||||
.mw400 {max-width: 400px !important;}
|
.mw400 {max-width: 400px !important;}
|
||||||
.mt-20 {margin-top:-20px;}
|
.mt-20 {margin-top:-20px;}
|
||||||
.mt-4 {margin-top: -4px;}
|
.mt-4 {margin-top: -4px;}
|
||||||
|
|
|
@ -180,6 +180,7 @@ h4{ font-size:14px; color:#3b3b3b;}
|
||||||
.h150{ height:150px;}
|
.h150{ height:150px;}
|
||||||
.p10 {padding-left:10px; padding-right:10px;}
|
.p10 {padding-left:10px; padding-right:10px;}
|
||||||
.mw360 {max-width: 360px !important;}
|
.mw360 {max-width: 360px !important;}
|
||||||
|
.mw380 {max-width: 380px !important;}
|
||||||
.mw400 {max-width: 400px !important;}
|
.mw400 {max-width: 400px !important;}
|
||||||
.mh18 {max-height: 18px;}
|
.mh18 {max-height: 18px;}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue