|
|
|
@ -38,7 +38,7 @@
|
|
|
|
|
<td>
|
|
|
|
|
<table>
|
|
|
|
|
<tr class="info_font"><td><%= l(:label_user_score) %></td></tr>
|
|
|
|
|
<tr class="buttons_for_score" style="margin-top:30px;margin-left:144px"><td><span style="color:#ec6300"><%= format("%.2f" , @user.user_score.total_score).to_f %></span></td></tr>
|
|
|
|
|
<tr class="buttons_for_score" style="margin-top:30px;margin-left:144px"><td><span style="color:#ec6300"><%= format("%.2f" , @user.user_score_attr.total_score).to_f %></span></td></tr>
|
|
|
|
|
</table>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
@ -49,23 +49,23 @@
|
|
|
|
|
<table style="border-bottom: solid 0px #80a6d2;" width="100%">
|
|
|
|
|
<tr>
|
|
|
|
|
<%= l(:label_user_score) %> :
|
|
|
|
|
<%= format("%.2f" , @user.user_score.total_score).to_f %>
|
|
|
|
|
<%= format("%.2f" , @user.user_score_attr.total_score).to_f %>
|
|
|
|
|
</tr><br>
|
|
|
|
|
<tr>
|
|
|
|
|
<%= l(:label_user_score_of_collaboration) %> :
|
|
|
|
|
<%= format("%.2f" , @user.user_score.collaboration.nil? ? 0:@user.user_score.collaboration).to_f %>
|
|
|
|
|
<%= format("%.2f" , @user.user_score_attr.collaboration.nil? ? 0:@user.user_score_attr.collaboration).to_f %>
|
|
|
|
|
</tr><br>
|
|
|
|
|
<tr>
|
|
|
|
|
<%= l(:label_user_score_of_influence) %> :
|
|
|
|
|
<%= format("%.2f" , @user.user_score.influence.nil? ? 0:@user.user_score.influence).to_f %>
|
|
|
|
|
<%= format("%.2f" , @user.user_score_attr.influence.nil? ? 0:@user.user_score_attr.influence).to_f %>
|
|
|
|
|
</tr><br>
|
|
|
|
|
<tr>
|
|
|
|
|
<%= l(:label_user_score_of_skill) %> :
|
|
|
|
|
<%= format("%.2f" , @user.user_score.skill.nil? ? 0:@user.user_score.skill).to_f %>
|
|
|
|
|
<%= format("%.2f" , @user.user_score_attr.skill.nil? ? 0:@user.user_score_attr.skill).to_f %>
|
|
|
|
|
</tr><br>
|
|
|
|
|
<tr>
|
|
|
|
|
<%= l(:label_user_score_of_active) %> :
|
|
|
|
|
<%= format("%.2f" , @user.user_score.active.nil? ? 0:@user.user_score.active).to_f %>
|
|
|
|
|
<%= format("%.2f" , @user.user_score_attr.active.nil? ? 0:@user.user_score_attr.active).to_f %>
|
|
|
|
|
</tr><br>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|