parent
fbc66484a0
commit
0896610464
|
@ -32,9 +32,16 @@
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
<li class="c_red" style="margin:25px 0 0 20px;"> 您还没交作业,请创建作业!</li>
|
<li class="c_red" style="margin:25px 0 0 20px;"> 您还没交作业,请创建作业!</li>
|
||||||
|
<% if @bid.comment_status == 0 %>
|
||||||
|
<!-- 老师布置的作业在创建和开启匿评这段时间才允许创建作品 -->
|
||||||
<li class="wping">
|
<li class="wping">
|
||||||
<%= link_to "创建作业", new_exercise_book_path(@bid), :style => "width:80px; margin:20px 0 0 350px;" %>
|
<%= link_to "创建作业", new_exercise_book_path(@bid), :style => "width:80px; margin:20px 0 0 350px;" %>
|
||||||
</li>
|
</li>
|
||||||
|
<% else %>
|
||||||
|
<li class="wping">
|
||||||
|
<a style="width:80px; margin:20px 0 0 350px;">创建作业</a>
|
||||||
|
</li>
|
||||||
|
<% end %>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -22,9 +22,10 @@
|
||||||
创建作品
|
创建作品
|
||||||
</li>
|
</li>
|
||||||
<li class="N_top" style="width: 835px;">
|
<li class="N_top" style="width: 835px;">
|
||||||
<a href="#" target="_blank" >
|
<%= link_to(l(:label_project_new), {:controller => 'projects',
|
||||||
创建项目
|
:action => 'new',
|
||||||
</a>
|
:course => 0,
|
||||||
|
:project_type => 0}) if User.current.allowed_to?(:add_project, nil, :global => true) %>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
@ -84,6 +85,7 @@
|
||||||
<a href="#" class="tijiao" onclick="submit_homework_form();">
|
<a href="#" class="tijiao" onclick="submit_homework_form();">
|
||||||
<%= l(:label_button_ok) %>
|
<%= l(:label_button_ok) %>
|
||||||
</a>
|
</a>
|
||||||
|
<a href="javascript:history.back()" class="tijiao">取 消</a>
|
||||||
|
|
||||||
<!--<a href="#" target="_blank" class="tijiao">-->
|
<!--<a href="#" target="_blank" class="tijiao">-->
|
||||||
<!--重 置-->
|
<!--重 置-->
|
||||||
|
|
Loading…
Reference in New Issue