diff --git a/app/views/exercise/_student_table.html.erb b/app/views/exercise/_student_table.html.erb index 979e711bc..3022b83a6 100644 --- a/app/views/exercise/_student_table.html.erb +++ b/app/views/exercise/_student_table.html.erb @@ -48,7 +48,7 @@ <%=exercise.user.show_name %> - <%= exercise.user.user_extensions.nil? ? "--" : exercise.user.user_extensions.student_id%> + -- diff --git a/app/views/student_work/_evaluation_title.html.erb b/app/views/student_work/_evaluation_title.html.erb index c74bd76c6..064444f04 100644 --- a/app/views/student_work/_evaluation_title.html.erb +++ b/app/views/student_work/_evaluation_title.html.erb @@ -23,7 +23,7 @@ 系统 <% end%> - + 我的评分 diff --git a/app/views/student_work/_evaluation_title_archive.html.erb b/app/views/student_work/_evaluation_title_archive.html.erb index e4e26ed4f..01bab5264 100644 --- a/app/views/student_work/_evaluation_title_archive.html.erb +++ b/app/views/student_work/_evaluation_title_archive.html.erb @@ -21,7 +21,7 @@ <% end%> -
  • +
  • 我的评分
  • \ No newline at end of file diff --git a/app/views/student_work/_evaluation_un_work.html.erb b/app/views/student_work/_evaluation_un_work.html.erb index 9cac477ab..ecdde77d8 100644 --- a/app/views/student_work/_evaluation_un_work.html.erb +++ b/app/views/student_work/_evaluation_un_work.html.erb @@ -16,7 +16,7 @@ <%= student_work.user.show_name%> " onclick="show_student_work('<%= student_work_path(student_work)%>');" style="cursor:pointer;"> - + <% elsif @homework.homework_type == 3 && @homework.homework_detail_group.base_on_project == 1 %> <% if student_work.project.is_public || User.current.member_of?(student_work.project) || User.current.admin? %> diff --git a/app/views/student_work/_evaluation_work.html.erb b/app/views/student_work/_evaluation_work.html.erb index dac46f289..0259fddf7 100644 --- a/app/views/student_work/_evaluation_work.html.erb +++ b/app/views/student_work/_evaluation_work.html.erb @@ -24,7 +24,7 @@ <%= student_work.user.show_name%> " onclick="show_student_work('<%= student_work_path(student_work)%>');" style="cursor: pointer;"> - <%= student_work.user.user_extensions.nil? ? "--" : student_work.user.user_extensions.student_id%> + <% elsif @homework.homework_type == 3 && @homework.homework_detail_group.base_on_project == 1 %> <% if student_work.project.is_public || User.current.member_of?(student_work.project) || User.current.admin? %>