16 lines
633 B
Plaintext
16 lines
633 B
Plaintext
<div class="project_r_h">
|
|
<h2 class="project_h2 fl"><%= @subPage_title%></h2>
|
|
<% if User.current.allowed_to?(:as_teacher,@course) %>
|
|
<span class="fr f14 fontGrey2" style="height: 40px; line-height: 40px; margin-right: 15px;">
|
|
<%=link_to "修改角色", :controller => 'courses', :action => 'settings', :id => @course.id, :tab=>'member' %>
|
|
</span>
|
|
<% end %>
|
|
</div>
|
|
<% if @subPage_title == l(:label_student_list)%>
|
|
<%= render :partial => 'course_student', :locals => {:members => @members} %>
|
|
<% else%>
|
|
<%= render :partial => 'course_teacher', :locals => {:members => @members} %>
|
|
<% end%>
|
|
|
|
|