|
|
|
@ -25,7 +25,7 @@
|
|
|
|
|
<% if file.is_public? || User.current.member_of_course?(course) %>
|
|
|
|
|
<div class="re_con_box" id="container_files_<%= file.id %>">
|
|
|
|
|
<div class="">
|
|
|
|
|
<%= link_to truncate(file.filename,length: 35, omission: '...'),
|
|
|
|
|
<%= link_to truncate(file.filename,length: 35, omission: '...'),
|
|
|
|
|
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 => "c_dblue f_14 f_b f_l" %>
|
|
|
|
|
<% if User.current.logged? %>
|
|
|
|
|