修改了老师访问学生页面的时候bug

exceptionHandle
huangjingquan 12 years ago
parent 956aa3d0c1
commit ff21bca683

@ -14,10 +14,13 @@
</p> </p>
<% end %> <% end %>
<% else %> <% else %>
<% unless @user != User.current %>
<% if User.current.user_extensions.identity == 0 %> <% if User.current.user_extensions.identity == 0 %>
<%= link_to"#{l(:label_course_new)}",{:controller=>'projects',:action=>'new', :course => 1}, :class => 'icon icon-add' %> <%= link_to"#{l(:label_course_new)}",{:controller=>'projects',:action=>'new', :course => 1}, :class => 'icon icon-add' %>
<% end %> <% end %>
<% end %>
<ul class="user_project_sort"> <ul class="user_project_sort">
<% for membership in @memberships %> <% for membership in @memberships %>
<li> <li>

Loading…
Cancel
Save