#1412个人主页--课程--当该用户加入多个课程时,建议“关闭课程”字样对齐
This commit is contained in:
parent
887a3cbe46
commit
65a89bb9a5
|
@ -15,11 +15,12 @@
|
|||
<% if User.current == @user %>
|
||||
<% (membership.roles).each do |role| %>
|
||||
<% unless (role == Role.find(9) || role == Role.find(3)) %>
|
||||
<%= join_in_course(membership.course, User.current) %>
|
||||
<%= join_in_course(membership.course, User.current) %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% else %>
|
||||
<% end %>
|
||||
|
||||
<%= l(:label_x_base_courses_member, :count => membership.course.members.count) %>
|
||||
(<%= "#{membership.course.members.count}" %>)
|
||||
<%= l(:label_homework) %>
|
||||
|
|
Loading…
Reference in New Issue