将延迟发布统一修改为延期发布

This commit is contained in:
daiao 2016-06-21 16:08:45 +08:00
parent 15f3a42a8a
commit 8037bccb17
3 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@
<!--<div class="resourcePopupClose"> <a href="javascript:void(0);" class="resourceClose"></a></div>--> <!--<div class="resourcePopupClose"> <a href="javascript:void(0);" class="resourceClose"></a></div>-->
<%= form_tag(republish_file_course_file_path(@course,@file), :multipart => true,:remote => !ie8?,:name=>"upload_form") do %> <%= form_tag(republish_file_course_file_path(@course,@file), :multipart => true,:remote => !ie8?,:name=>"upload_form") do %>
<div class="mb10"> <div class="mb10">
<label class="fl c_dark f14" style="margin-top: 4px;">延发布:</label> <label class="fl c_dark f14" style="margin-top: 4px;">延发布:</label>
<div class="calendar_div fl"> <div class="calendar_div fl">
<input type="text" name="publish_time" id="attachment_publish_time" placeholder="发布日期" class="InputBox fl W120 calendar_input" readonly="readonly" value="<%=@file.publish_time %>"> <input type="text" name="publish_time" id="attachment_publish_time" placeholder="发布日期" class="InputBox fl W120 calendar_input" readonly="readonly" value="<%=@file.publish_time %>">
<%#= calendar_for('attachment_publish_time')%> <%#= calendar_for('attachment_publish_time')%>
@ -11,7 +11,7 @@
<span class="fl c_red" style="margin-top: 4px;" id="publish_time_notice"></span> <span class="fl c_red" style="margin-top: 4px;" id="publish_time_notice"></span>
<div class="cl"></div> <div class="cl"></div>
</div> </div>
<!--<div class="mt15"> <span class="f14 fontGrey3 mr10">延发布:</span> <!--<div class="mt15"> <span class="f14 fontGrey3 mr10">延发布:</span>
<input type="text" name="" placeholder="请输入0-50数值" class="markInput" /> <input type="text" name="" placeholder="请输入0-50数值" class="markInput" />
</div>--> </div>-->
<div> <div>

View File

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

View File

@ -32,7 +32,7 @@
<% if User.current.allowed_to?(:as_teacher,course) %> <% if User.current.allowed_to?(:as_teacher,course) %>
<div class="mb5"> <div class="mb5">
<label class="fl c_dark f14" style="margin-top: 4px;">延发布:</label> <label class="fl c_dark f14" style="margin-top: 4px;">延发布:</label>
<div class="calendar_div fl"> <div class="calendar_div fl">
<input type="text" name="publish_time" id="attachment_publish_time" placeholder="发布日期(可选)" class="InputBox fl W120 calendar_input" readonly="readonly"> <input type="text" name="publish_time" id="attachment_publish_time" placeholder="发布日期(可选)" class="InputBox fl W120 calendar_input" readonly="readonly">
<%#= calendar_for('attachment_publish_time')%> <%#= calendar_for('attachment_publish_time')%>