课程大纲缺少创建班级才能开展教学的引导说明
This commit is contained in:
parent
52ad68ffe1
commit
a9265f3b35
|
@ -79,7 +79,8 @@
|
|||
<% if User.current.member_of_syl?(@syllabus) %>
|
||||
<p class="sy_tab_con_p">该课程还未创建班级,请
|
||||
<%= link_to "新建班级", new_course_path(:host=> Setting.host_course, :syllabus_id => @syllabus.id), :class => "sy_corange", :target => '_blank'%>
|
||||
,谢谢啦!</p>
|
||||
,谢谢啦!<br/>只有创建班级后才可以开展在线教学哦~
|
||||
</p>
|
||||
<% else %>
|
||||
<p class="sy_tab_con_p">该课程还未创建班级,敬请期待!</p>
|
||||
<% end %>
|
||||
|
|
|
@ -28,6 +28,9 @@
|
|||
</li>
|
||||
</ul>
|
||||
<div id="sy_tab_con_1">
|
||||
<% if User.current == @syllabus.user && @syllabus.courses.empty? %>
|
||||
<p class="nodata c_red">您还没有创建班级,只有<%= link_to "创建班级", new_course_path(:host=> Setting.host_course, :syllabus_id => @syllabus.id), :class => "linkBlue2", :target => '_blank'%>后才可以开展在线教学哦~</p>
|
||||
<% end %>
|
||||
<% if @syllabus.des_status == 0 && User.current == @syllabus.user %>
|
||||
<div class="icons_tishi"><img src="../images/sy/icons_tan.png" width="110" height="110" alt="" ></div>
|
||||
<p class="sy_tab_con_p">您建立的课程尚未填写课程大纲,请完善您的 <%=link_to '课程大纲', edit_syllabus_path(@syllabus), :class => 'sy_corange' %>,谢谢啦!</p>
|
||||
|
|
Loading…
Reference in New Issue