From 3b073eec7421a5f16ba03b6a4ba59ea9d0dd478e Mon Sep 17 00:00:00 2001 From: z9hang Date: Wed, 5 Nov 2014 10:05:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E7=95=99=E8=A8=80=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/homework_attach/_jour.html.erb | 4 +++- public/stylesheets/css.css | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/views/homework_attach/_jour.html.erb b/app/views/homework_attach/_jour.html.erb index f18245f7e..0aa0165a6 100644 --- a/app/views/homework_attach/_jour.html.erb +++ b/app/views/homework_attach/_jour.html.erb @@ -19,7 +19,9 @@ <%= format_time(jour.created_on) %> <% if show_score %> - <%= l(:label_work_rating) %>: + + <%= l(:label_work_rating) %>: + <%= render :partial => 'show_score', locals: {:stars => get_homework_score(jour.user,@homework ) } %> <% end %> diff --git a/public/stylesheets/css.css b/public/stylesheets/css.css index a8fee8b67..767095c49 100644 --- a/public/stylesheets/css.css +++ b/public/stylesheets/css.css @@ -110,7 +110,7 @@ a:hover.ping_sub{ background:#14a8b9;} .ping_C{border-bottom:1px dashed #CCC; padding:5px;} .ping_dispic a{ display:block; height:46px; width:46px; border:1px solid #CCC; padding:1px; float:left;} .ping_dispic img{ height:46px; width:46px;} -.ping_discon{ float:left; width:372px; margin-left:15px;} +.ping_discon{ float:left; width:350px; margin-left:15px;} .ping_distop span{ float:left;} .ping_distop p{ color:#5f5f5f;} .ping_disfoot a{ float:right; color:#15bccf; margin-left:5px;}