修改了老师访问学生页面的时候bug
This commit is contained in:
parent
956aa3d0c1
commit
ff21bca683
|
@ -14,10 +14,13 @@
|
|||
</p>
|
||||
<% end %>
|
||||
<% else %>
|
||||
<% unless @user != User.current %>
|
||||
<% if User.current.user_extensions.identity == 0 %>
|
||||
<%= link_to"#{l(:label_course_new)}",{:controller=>'projects',:action=>'new', :course => 1}, :class => 'icon icon-add' %>
|
||||
<% end %>
|
||||
<ul class="user_project_sort">
|
||||
<% end %>
|
||||
<ul class="user_project_sort">
|
||||
|
||||
<% for membership in @memberships %>
|
||||
|
||||
<li>
|
||||
|
|
Loading…
Reference in New Issue