From 9e53ad67d028fe1d4d7b2ddc700cb940da7925fd Mon Sep 17 00:00:00 2001 From: z9hang Date: Tue, 17 Jun 2014 09:01:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E4=B8=AA=E4=BA=BA=E5=88=86?= =?UTF-8?q?=E6=95=B0=E6=98=BE=E7=A4=BA=E7=9A=84=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/users/_show_new_score.html.erb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/views/users/_show_new_score.html.erb b/app/views/users/_show_new_score.html.erb index 68832544b..d22150a8d 100644 --- a/app/views/users/_show_new_score.html.erb +++ b/app/views/users/_show_new_score.html.erb @@ -48,23 +48,23 @@ - <%= link_to l(:label_user_score), {:controller => 'users', :action => 'score_new_index', :remote => true} %> : + <%= l(:label_user_score) %> : <%= format("%.2f" , @user.user_score.total_score).to_f %>
- <%= link_to l(:label_user_score_of_collaboration), {:controller => 'users', :action => 'topic_new_score_index', :remote => true} %> : + <%= l(:label_user_score_of_collaboration) %> : <%= format("%.2f" , @user.user_score.collaboration.nil? ? 0:@user.user_score.collaboration).to_f %>
- <%= link_to l(:label_user_score_of_influence), {:controller => 'users', :action => 'project_new_score_index', :remote => true} %> : + <%= l(:label_user_score_of_influence) %> : <%= format("%.2f" , @user.user_score.influence.nil? ? 0:@user.user_score.influence).to_f %>
- <%= link_to l(:label_user_score_of_skill), {:controller => 'users', :action => 'activity_new_score_index', :remote => true} %> : + <%= l(:label_user_score_of_skill) %> : <%= format("%.2f" , @user.user_score.skill.nil? ? 0:@user.user_score.skill).to_f %>
- <%= link_to l(:label_user_score_of_active), {:controller => 'users', :action => 'influence_new_score_index', :remote => true} %> : + <%= l(:label_user_score_of_active) %> : <%= format("%.2f" , @user.user_score.active.nil? ? 0:@user.user_score.active).to_f %>