作业列表增加标题
This commit is contained in:
parent
b7cbb9b0c2
commit
afeaecc478
|
@ -30,7 +30,8 @@
|
||||||
<%= render :partial => 'student_work/work_attachments', :locals => {:attachments => homework_common.attachments} %>
|
<%= render :partial => 'student_work/work_attachments', :locals => {:attachments => homework_common.attachments} %>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
</div>
|
</div>
|
||||||
<% if is_teacher%>
|
<%# if is_teacher%>
|
||||||
|
<% if false%>
|
||||||
<div class="homepagePostSetting">
|
<div class="homepagePostSetting">
|
||||||
<ul>
|
<ul>
|
||||||
<li class="homepagePostSettingIcon">
|
<li class="homepagePostSettingIcon">
|
||||||
|
|
|
@ -24,6 +24,14 @@
|
||||||
<%= render :partial => 'users/user_homework_form', :locals => { :homework => homework,:f => f,:edit_mode => false } %>
|
<%= render :partial => 'users/user_homework_form', :locals => { :homework => homework,:f => f,:edit_mode => false } %>
|
||||||
<% end%>
|
<% end%>
|
||||||
</div><!----HomeWork end-->
|
</div><!----HomeWork end-->
|
||||||
|
|
||||||
|
<%else%>
|
||||||
|
<div class="resources mb10">
|
||||||
|
<div class="homepageRightBanner">
|
||||||
|
<div class="NewsBannerName">作业</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="cl"></div>
|
||||||
<% end%>
|
<% end%>
|
||||||
|
|
||||||
<%= render :partial => 'users/user_homework_list', :locals => {:homework_commons => @homework_commons,:page => 0} %>
|
<%= render :partial => 'users/user_homework_list', :locals => {:homework_commons => @homework_commons,:page => 0} %>
|
||||||
|
|
Loading…
Reference in New Issue