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