|
|
@ -9,7 +9,7 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="homepagePostDes">
|
|
|
|
<div class="homepagePostDes">
|
|
|
|
<div class="homepagePostTitle break_word mt-4">
|
|
|
|
<div class="homepagePostTitle break_word mt-4">
|
|
|
|
<%= link_to file.is_public? ? truncate(file.filename, length: 70) : truncate(file.filename,length: 50, omission: '...'),
|
|
|
|
<%= link_to file.is_public? ? truncate(file.filename, length: 45) : truncate(file.filename,length: 35, 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 f_l" %>
|
|
|
|
:title => file.filename+"\n"+file.description.to_s, :style => "overflow: hidden; white-space: nowrap;text-overflow: ellipsis;",:class => "linkGrey3 f_14 f_l" %>
|
|
|
|
<%= file_preview_eye(file, class: 'preview') %>
|
|
|
|
<%= file_preview_eye(file, class: 'preview') %>
|
|
|
|