#1301所有教师都能配置课程、发布作业
This commit is contained in:
parent
2238c42826
commit
ba93d07938
|
@ -74,7 +74,7 @@
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<div id="join_in_course">
|
<div id="join_in_course">
|
||||||
<% if User.current.logged? %>
|
<% if User.current.logged? %>
|
||||||
<% if @course.teacher.id == User.current.id %>
|
<% if User.current.allowed_to?(:as_teacher,@course) %>
|
||||||
<%= link_to l(:label_course_modify_settings), {:controller => 'courses', :action => 'settings', :id => @course} %>
|
<%= link_to l(:label_course_modify_settings), {:controller => 'courses', :action => 'settings', :id => @course} %>
|
||||||
<%= render :partial => 'courses/set_course_time', :locals => {:course => @course} %>
|
<%= render :partial => 'courses/set_course_time', :locals => {:course => @course} %>
|
||||||
<% else %>
|
<% else %>
|
||||||
|
|
Loading…
Reference in New Issue