调整个人得分窗口的格式
This commit is contained in:
parent
730ecd546f
commit
27ee22e05d
|
@ -26,8 +26,8 @@
|
|||
|
||||
<div><%= l(:label_user_score) %></div>
|
||||
<div> = <%= l(:label_user_score_of_topic) %> + <%= l(:label_user_score_of_project) %> +
|
||||
<%= l(:label_user_score_of_activity) %></div>
|
||||
<div> + <%= l(:label_user_score_of_influence) %></div>
|
||||
<%= l(:label_user_score_of_activity)%> + <%= l(:label_user_score_of_influence) %></div>
|
||||
<!-- <div> + <%= l(:label_user_score_of_influence) %></div> -->
|
||||
<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>
|
||||
<div> = <%= format("%.2f" , finall_user_score).to_f %></div>
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
<td width="35%">
|
||||
<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><%= @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>
|
||||
</td>
|
||||
<td>
|
||||
|
@ -44,10 +44,36 @@
|
|||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
</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 class="tabs_new">
|
||||
<!-- <div class="inf_user_image">
|
||||
<ul>
|
||||
<li>
|
||||
<%= link_to l(:label_user_score), {:controller => 'users', :action => 'score_index', :remote => true} %> :
|
||||
|
@ -70,8 +96,8 @@
|
|||
<%= format("%.2f" , finall_influence_score).to_f %>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="show_score_detail">
|
||||
</div> -->
|
||||
<div id="show_score_detail", style="padding-left: 6px">
|
||||
<%= render :partial => 'users/score_index', :locals => {:index => 0 } %>
|
||||
</div>
|
||||
<!-- end -->
|
|
@ -29,10 +29,10 @@
|
|||
<td><table width="580" border="0">
|
||||
<tr>
|
||||
<td colspan="2" valign="top"><strong> <%= content_tag('span', h(e.project), :class => 'project') %></strong> <span class="font_lighter"><%= l(:label_new_activity) %></span> <%= link_to format_activity_title(e.event_title), e.event_url %></td>
|
||||
</tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" width="580" ><p class="font_description"><%= format_activity_description(e.event_description) %></p></td>
|
||||
</tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><a class="font_lighter"></a></td>
|
||||
<td width="200" align="right" class="a"><span class="font_lighter"><%= format_activity_day(day) %></span></td>
|
||||
|
|
Loading…
Reference in New Issue