From 4ffdd05a19b38322edef6ef560695be8ac1ecfe6 Mon Sep 17 00:00:00 2001 From: huang Date: Sat, 15 Aug 2015 16:50:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B6=88=E6=81=AF=E4=B8=BA=E7=A9=BA=E7=BB=99?= =?UTF-8?q?=E5=87=BA=E6=8F=90=E7=A4=BA=20=E8=BF=9E=E6=8E=A5=E9=BC=A0?= =?UTF-8?q?=E6=A0=87=E7=BB=8F=E8=BF=87=E9=A2=9C=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/layouts/_base_header_new.html.erb | 2 +- app/views/users/user_messages.html.erb | 4 ++-- public/stylesheets/public_new.css | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/layouts/_base_header_new.html.erb b/app/views/layouts/_base_header_new.html.erb index d066a3e9f..c224ee0ab 100644 --- a/app/views/layouts/_base_header_new.html.erb +++ b/app/views/layouts/_base_header_new.html.erb @@ -56,7 +56,7 @@
- <% if !@user_course_messages.nil? %> + <% if !@user_course_messages.blank? %> <% @user_course_messages.each do |ucm| %> <% if ucm.course_message_type == "News" %>
diff --git a/public/stylesheets/public_new.css b/public/stylesheets/public_new.css index 452f2f853..ca45545ff 100644 --- a/public/stylesheets/public_new.css +++ b/public/stylesheets/public_new.css @@ -6,7 +6,7 @@ div,img,tr,td,table{ border:0;} table,tr,td{border:0;cellspacing:0; cellpadding:0;} ol,ul,li{ list-style-type:none} a:link,a:visited{color:#7f7f7f;text-decoration:none;} -a:hover,a:active{color:#000;} +a:hover,a:active{color:#15bccf;} img{max-width: 100%;} /*常用*/