From 09e014b5f78aa5742bb3d59e9a58ea4a2fca7fc1 Mon Sep 17 00:00:00 2001
From: sw <939547590@qq.com>
Date: Thu, 4 Jun 2015 16:50:27 +0800
Subject: [PATCH] =?UTF-8?q?=E5=8C=BF=E8=AF=84=E4=BD=9C=E5=93=81=E5=88=97?=
=?UTF-8?q?=E8=A1=A8=E7=95=8C=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../student_work/_evaluation_work.html.erb | 17 +++++++++--------
.../_evaluation_work_title.html.erb | 6 +++---
public/stylesheets/courses.css | 4 ++--
3 files changed, 14 insertions(+), 13 deletions(-)
diff --git a/app/views/student_work/_evaluation_work.html.erb b/app/views/student_work/_evaluation_work.html.erb
index 2b8369b24..2c4e2287a 100644
--- a/app/views/student_work/_evaluation_work.html.erb
+++ b/app/views/student_work/_evaluation_work.html.erb
@@ -1,22 +1,23 @@
" id="student_work_<%= student_work.id%>">
<% is_my_work = student_work.user == User.current%>
- -
+
-
<% if is_my_work%>
- <% student_id = student_work.user.user_extensions.nil? ? "--" : student_work.user.user_extensions.student_id%>
- <%= link_to student_id,"javascript:void(0)",:class => "c_grey hwork_center",:title => student_id%>
+
+ <%= student_work.user.user_extensions.nil? ? "--" : student_work.user.user_extensions.student_id%>
+
<% else%>
- <%= link_to "--", "javascript:void(0)",:class => "c_grey hwork_center"%>
+ --
<% end%>
- -
+
-
<% if is_my_work%>
- <%= link_to student_work.user.show_name,user_path(student_work.user),:class => "c_blue02 hwork_name",:title => student_work.user.show_name %>
+ <%= link_to student_work.user.show_name,user_path(student_work.user),:title => student_work.user.show_name %>
<% else%>
- <%= link_to "匿名","javascript:void(0)",:class => "c_blue02 hwork_name"%>
+ <%= link_to "匿名","javascript:void(0)"%>
<% end%>
- -
+
-
<%= link_to student_work.name, student_work_path(student_work),:remote => true, :title => student_work.name, :class => "c_blue02"%>
<% my_score = student_work_score(student_work,User.current) %>
diff --git a/app/views/student_work/_evaluation_work_title.html.erb b/app/views/student_work/_evaluation_work_title.html.erb
index a3b1cda41..0be6228bb 100644
--- a/app/views/student_work/_evaluation_work_title.html.erb
+++ b/app/views/student_work/_evaluation_work_title.html.erb
@@ -1,7 +1,7 @@
--
- 学号
+
-
+ 学号
--
+
-
学生姓名
-
diff --git a/public/stylesheets/courses.css b/public/stylesheets/courses.css
index 982c6ff31..7127a1f38 100644
--- a/public/stylesheets/courses.css
+++ b/public/stylesheets/courses.css
@@ -635,8 +635,8 @@ a:hover.icon_add{background:url(images/icons.png) -20px -310px no-repeat;}
.hwork_tit a{ width:205px; display:block; overflow:hidden; white-space: nowrap; text-overflow:ellipsis; }
.hwork_code{ width:56px; text-align:center; }
.hwork_code02{ width:60px; text-align:center; }
-.hwork_tit_e{ width:440px; float:left; }
-.hwork_tit_e a{ width:455px; display:block; overflow:hidden; white-space: nowrap; text-overflow:ellipsis; }
+.hwork_tit_e{ width:420px; float:left; }
+.hwork_tit_e a{ width:405px; display:block; overflow:hidden; white-space: nowrap; text-overflow:ellipsis; }
.hwork_num{ width:90px; display:block; overflow:hidden; white-space: nowrap; text-overflow:ellipsis;min-height: 1px;}
.mr18{ margin-right:18px;}
a.hwork_center{ display:block; width:60px; margin-right:5px;overflow: hidden; white-space: nowrap; text-overflow:ellipsis;}