教师团队中只有一个教师时不应有上移功能
This commit is contained in:
parent
053e66c464
commit
9d65d61f2a
|
@ -42,7 +42,9 @@
|
|||
<% else %>
|
||||
<a href="javascript:void(0)" class="fr sy_btn_grey mr5" title="该老师已在本课程下创建了班级,不能删除">删除</a>
|
||||
<% end %>
|
||||
<% if i != 0 && i < count - 1 %>
|
||||
<% if i == 0 && count == 1 %>
|
||||
|
||||
<% elsif i != 0 && i < count - 1 %>
|
||||
<%= link_to('下移', {:controller => 'syllabus_member', :action => 'update_rank', :id => member.id, :syllabus => @syllabus.id, :opr => 'down'},:remote => true, :method => 'post', :class => "fr sy_btn_blue mr5", :title => '下移') %>
|
||||
<%= link_to('上移', {:controller => 'syllabus_member', :action => 'update_rank', :id => member.id, :syllabus => @syllabus.id, :opr => 'up'},:remote => true, :method => 'post', :class => "fr sy_btn_blue mr5", :title => '上移') %>
|
||||
<% elsif i < count - 1 %>
|
||||
|
|
Loading…
Reference in New Issue