删除老师个人主页的“参加匿评”,添加学生个人主页的“参加匿评”
This commit is contained in:
parent
3313adb13a
commit
47c171dbf0
|
@ -181,7 +181,7 @@
|
|||
<% if (get_join_course_count(@user) != 0) %>
|
||||
<li>加入课程 :</li>
|
||||
<% end %>
|
||||
<% if @user.user_extensions.identity == 0 %>
|
||||
<% if @user.user_extensions.identity == 1 %>
|
||||
<li>参加匿评 :</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) %>
|
||||
|
|
Loading…
Reference in New Issue