From 4f0817a14693df9e9114f39921bab0319d364b21 Mon Sep 17 00:00:00 2001 From: linhk <304431313@.com> Date: Sat, 16 Aug 2014 17:02:37 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE--=E6=96=87=E6=A1=A3--?= =?UTF-8?q?=E6=96=87=E4=BB=B6--=E4=BB=A3=E7=A0=81=E8=AF=84=E5=AE=A1=20?= =?UTF-8?q?=E4=B8=AD=E7=94=A8=E6=88=B7=E5=A4=B4=E5=83=8F=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/helpers/application_helper.rb | 2 ++ app/views/layouts/base_projects.html.erb | 2 +- .../redmine_code_review/app/views/code_review/_reply.html.erb | 3 ++- .../redmine_code_review/app/views/code_review/_show.html.erb | 3 ++- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 4d8b53e3c..7f38d8db9 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1442,6 +1442,8 @@ module ApplicationHelper email = $1 end return gravatar(email.to_s.downcase, options) unless email.blank? rescue nil + #options ={"class" => ["avatar2"],"width" =>["80px"],"height" =>["80px"]} + #return image_tag url_to_avatar(user), options else '' end diff --git a/app/views/layouts/base_projects.html.erb b/app/views/layouts/base_projects.html.erb index eea7a0f61..9edc803a2 100644 --- a/app/views/layouts/base_projects.html.erb +++ b/app/views/layouts/base_projects.html.erb @@ -50,7 +50,7 @@ - +