|
|
|
@ -53,7 +53,7 @@
|
|
|
|
|
<% if (delete_allowed || User.current.id == file.author_id) && file.container_id == @course.id && file.container_type == "Course" %>
|
|
|
|
|
<ul class="homepagePostSettiongText">
|
|
|
|
|
<li><%= link_to("发 送".html_safe, 'javascript:void(0)',:class => "postOptionLink",:onclick=>"show_send('#{file.id}','#{User.current.id}','file')") %></li>
|
|
|
|
|
<li><%= link_to '延迟发布',file_hidden_course_file_path(@course,file),:class => "postOptionLink",:remote=>true %></li>
|
|
|
|
|
<li><%= link_to '延期发布',file_hidden_course_file_path(@course,file),:class => "postOptionLink",:remote=>true %></li>
|
|
|
|
|
<li><%= link_to '更新版本',attachments_versions_path(file),:class => "postOptionLink",:remote=>true %></li>
|
|
|
|
|
<% if @course.is_public? %>
|
|
|
|
|
<li>
|
|
|
|
|