去除个人分数显示的链接

This commit is contained in:
z9hang 2014-06-17 09:01:09 +08:00
parent 697a6034b2
commit 9e53ad67d0
1 changed files with 5 additions and 5 deletions

View File

@ -48,23 +48,23 @@
<table style="border-bottom: solid 0px #80a6d2;" width="100%">
<tr>
<%= 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 %>
</tr><br>
<tr>
<%= 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 %>
</tr><br>
<tr>
<%= 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 %>
</tr><br>
<tr>
<%= 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 %>
</tr><br>
<tr>
<%= 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 %>
</tr><br>
</table>