删除老师个人主页的“参加匿评”,添加学生个人主页的“参加匿评”

This commit is contained in:
cxt 2015-07-30 10:54:25 +08:00
parent 3313adb13a
commit 47c171dbf0
1 changed files with 2 additions and 2 deletions

View File

@ -181,7 +181,7 @@
<% if (get_join_course_count(@user) != 0) %>
<li>加入课程&nbsp;:</li>
<% end %>
<% if @user.user_extensions.identity == 0 %>
<% if @user.user_extensions.identity == 1 %>
<li>参加匿评&nbsp;:</li>
<% end %>
<% if (get_projectandcourse_attachment_count(@user) != 0) %>
@ -212,7 +212,7 @@
<% if (get_join_course_count(@user) != 0) %>
<li><%= get_join_course_count(@user) %></li>
<% end %>
<% if @user.user_extensions.identity == 0 %>
<% if @user.user_extensions.identity == 1 %>
<li><%= get_anonymous_evaluation_count(@user) %></li>
<% end %>
<% if (get_projectandcourse_attachment_count(@user) != 0) %>