From 05023c8451b9e8c4915d0a2ac82c5c04f36aa8a7 Mon Sep 17 00:00:00 2001 From: nieguanghui Date: Wed, 7 Aug 2013 17:06:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=85=B3=E6=B3=A8=E5=92=8C?= =?UTF-8?q?=E7=B2=89=E4=B8=9D=E5=A4=B4=E5=83=8F=E5=A4=84=E9=BC=A0=E6=A0=87?= =?UTF-8?q?=E6=82=AC=E6=B5=AE=E6=98=BE=E7=A4=BA=E7=94=A8=E6=88=B7=E5=90=8D?= =?UTF-8?q?=E5=AD=97=EF=BC=8C=E9=97=AE=E9=A2=98=E5=88=97=E8=A1=A8=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/helpers/application_helper.rb | 4 ++-- public/themes/redpenny-master/stylesheets/application.css | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 40c9117b1..8d14e63f7 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1295,7 +1295,7 @@ module ApplicationHelper def show_watcher_profile(obj) html = '' for user in User.watched_by(obj.id) - html << (link_to image_tag(url_to_avatar(user), :class => "avatar"), user_path(user), :class => "avatar") + html << (link_to image_tag(url_to_avatar(user), :class => "avatar"), user_path(user), :class => "avatar", :title => "#{user.name}") end html.html_safe end @@ -1304,7 +1304,7 @@ module ApplicationHelper def show_fans_picture(obj) html = '' for user in obj.watcher_users - html << (link_to image_tag(url_to_avatar(user), :class => "avatar"), user_path(user), :class => "avatar") + html << (link_to image_tag(url_to_avatar(user), :class => "avatar"), user_path(user), :class => "avatar", :title => "#{user.name}") end html.html_safe end diff --git a/public/themes/redpenny-master/stylesheets/application.css b/public/themes/redpenny-master/stylesheets/application.css index 94359e393..9385e3da3 100644 --- a/public/themes/redpenny-master/stylesheets/application.css +++ b/public/themes/redpenny-master/stylesheets/application.css @@ -1250,7 +1250,10 @@ a.tag { cursor: pointer; } - +div.project-block img.avatar2 { + width: 64px; + height: 64px; +} @@ -1572,7 +1575,7 @@ div.find-comment-class { float: right; } a.bid_user_u { - color: rgb(72, 72, 72); + margin-right: 4px; } /* */