From 6b66a205b32f45a8ed18d7fc2bfd958c6d6dce36 Mon Sep 17 00:00:00 2001 From: linhk <304431313@.com> Date: Sat, 16 Aug 2014 15:18:46 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E9=A1=B9=E7=9B=AE--=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E8=AF=84=E5=AE=A1=20=E6=98=BE=E7=A4=BA=E5=B7=B2=E5=85=B3?= =?UTF-8?q?=E9=97=AD=E7=9A=84=E8=AF=84=E5=AE=A1=E5=8A=9F=E8=83=BD=E4=B8=8D?= =?UTF-8?q?=E5=8F=AF=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/views/code_review/index.html.erb | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/plugins/redmine_code_review/app/views/code_review/index.html.erb b/plugins/redmine_code_review/app/views/code_review/index.html.erb index c82a9c0b3..d03ab3e1e 100644 --- a/plugins/redmine_code_review/app/views/code_review/index.html.erb +++ b/plugins/redmine_code_review/app/views/code_review/index.html.erb @@ -19,8 +19,8 @@
@@ -32,6 +32,15 @@ function change_option(flag) {

<%= form_tag({:controller => 'code_review', :action=>'index', :id => @project}, :id => 'optionform') do %> <%= check_box_tag 'show_closed', 'true', @show_closed, :onchange => "change_option($('#show_closed').is(':checked'));"%> <%=h l(:label_show_closed_reviews) %> + <% end %> <%# observe_field 'show_closed', :with => 'show_closed', :update => 'content' %>

From 4f0817a14693df9e9114f39921bab0319d364b21 Mon Sep 17 00:00:00 2001 From: linhk <304431313@.com> Date: Sat, 16 Aug 2014 17:02:37 +0800 Subject: [PATCH 2/2] =?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 @@
- +