修改课程下,课件名称,显示尽可能全
This commit is contained in:
parent
1dcf4918b9
commit
3661969528
|
@ -8,11 +8,11 @@
|
||||||
<div class="homepagePostTitle break_word">
|
<div class="homepagePostTitle break_word">
|
||||||
<%# 如果有历史版本则提供历史版本下载 %>
|
<%# 如果有历史版本则提供历史版本下载 %>
|
||||||
<% if file.attachment_histories.count == 0 %>
|
<% if file.attachment_histories.count == 0 %>
|
||||||
<%= link_to truncate(file.filename,length: 70, omission: '...'),
|
<%= link_to truncate(file.filename,length: 40, omission: '...'),
|
||||||
download_named_attachment_path(file.id, file.filename),
|
download_named_attachment_path(file.id, file.filename),
|
||||||
:title => file.filename+"\n"+file.description.to_s, :style => "overflow: hidden; white-space: nowrap;text-overflow: ellipsis;",:class => "linkGrey3 f_14" %>
|
:title => file.filename+"\n"+file.description.to_s, :style => "overflow: hidden; white-space: nowrap;text-overflow: ellipsis;",:class => "linkGrey3 f_14" %>
|
||||||
<% else %>
|
<% else %>
|
||||||
<%= link_to truncate(file.filename,length: 70, omission: '...'), attachment_history_download_path(file.id),
|
<%= link_to truncate(file.filename,length: 40, omission: '...'), attachment_history_download_path(file.id),
|
||||||
:title => file.filename+"\n"+file.description.to_s,
|
:title => file.filename+"\n"+file.description.to_s,
|
||||||
:class => "linkGrey3 f_14",
|
:class => "linkGrey3 f_14",
|
||||||
:style => "overflow: hidden; white-space: nowrap;text-overflow: ellipsis;", :remote=>true %>
|
:style => "overflow: hidden; white-space: nowrap;text-overflow: ellipsis;", :remote=>true %>
|
||||||
|
|
Loading…
Reference in New Issue