调整个人得分窗口的格式

This commit is contained in:
wanglinchun 2014-03-06 15:42:19 +08:00
parent 730ecd546f
commit 27ee22e05d
4 changed files with 36 additions and 10 deletions

View File

@ -26,8 +26,8 @@
<div><%= l(:label_user_score) %></div> <div><%= l(:label_user_score) %></div>
<div> = <%= l(:label_user_score_of_topic) %> + <%= l(:label_user_score_of_project) %> + <div> = <%= l(:label_user_score_of_topic) %> + <%= l(:label_user_score_of_project) %> +
<%= l(:label_user_score_of_activity) %></div> <%= l(:label_user_score_of_activity)%> + <%= l(:label_user_score_of_influence) %></div>
<div>&nbsp;&nbsp;&nbsp;+ <%= l(:label_user_score_of_influence) %></div> <!-- <div>&nbsp;&nbsp;&nbsp;+ <%= l(:label_user_score_of_influence) %></div> -->
<div> = <%= format("%.2f" , finall_messages_score).to_f %> + <%= format("%.2f" , finall_user_project_score).to_f %> + <div> = <%= format("%.2f" , finall_messages_score).to_f %> + <%= format("%.2f" , finall_user_project_score).to_f %> +
<%= format("%.2f" , finall_activity_score).to_f %> + <%= format("%.2f" , finall_influence_score).to_f %></div> <%= format("%.2f" , finall_activity_score).to_f %> + <%= format("%.2f" , finall_influence_score).to_f %></div>
<div> = <%= format("%.2f" , finall_user_score).to_f %></div> <div> = <%= format("%.2f" , finall_user_score).to_f %></div>

View File

@ -34,7 +34,7 @@
<td width="35%"> <td width="35%">
<table> <table>
<tr class="info_font" align="center" style=" word-wrap: break-word; word-break: break-all"><td><%= h @user.show_name %></td></tr> <tr class="info_font" align="center" style=" word-wrap: break-word; word-break: break-all"><td><%= h @user.show_name %></td></tr>
<tr class="info_font" align="center" style=" word-wrap: break-word; word-break: break-all"><td><%= @user.user_extensions.show_identity %></td></tr> <tr class="info_font" align="left" style=" word-wrap: break-word; word-break: break-all"><td><%= @user.user_extensions.show_identity %></td></tr>
</table> </table>
</td> </td>
<td> <td>
@ -44,10 +44,36 @@
</table> </table>
</td> </td>
</tr> </tr>
</table> </table>
<table style="border-bottom: solid 0px #80a6d2;", width="100%">
<tr>
<%= link_to l(:label_user_score), {:controller => 'users', :action => 'score_index', :remote => true} %> :
<%= format("%.2f" , finall_user_score).to_f %>
</tr><br>
<tr>
<%= link_to l(:label_user_score_of_topic), {:controller => 'users', :action => 'topic_score_index', :remote => true} %> :
<%= format("%.2f" , finall_messages_score).to_f %>
</tr><br>
<tr>
<%= link_to l(:label_user_score_of_project), {:controller => 'users', :action => 'project_score_index', :remote => true} %> :
<%= format("%.2f" , finall_user_project_score).to_f %>
</tr><br>
<tr>
<%= link_to l(:label_user_score_of_activity), {:controller => 'users', :action => 'activity_score_index', :remote => true} %> :
<%= format("%.2f" , finall_activity_score).to_f %>
</tr><br>
<tr>
<%= link_to l(:label_user_score_of_influence), {:controller => 'users', :action => 'influence_score_index', :remote => true} %>
<%= format("%.2f" , finall_influence_score).to_f %>
</tr><br>
</table>
</div> </div>
<div class="tabs_new"> <!-- <div class="inf_user_image">
<ul> <ul>
<li> <li>
<%= link_to l(:label_user_score), {:controller => 'users', :action => 'score_index', :remote => true} %> : <%= link_to l(:label_user_score), {:controller => 'users', :action => 'score_index', :remote => true} %> :
@ -70,8 +96,8 @@
<%= format("%.2f" , finall_influence_score).to_f %> <%= format("%.2f" , finall_influence_score).to_f %>
</li> </li>
</ul> </ul>
</div> </div> -->
<div id="show_score_detail"> <div id="show_score_detail", style="padding-left: 6px">
<%= render :partial => 'users/score_index', :locals => {:index => 0 } %> <%= render :partial => 'users/score_index', :locals => {:index => 0 } %>
</div> </div>
<!-- end --> <!-- end -->