Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh
This commit is contained in:
commit
d5665c7bb7
|
@ -121,16 +121,6 @@
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<!-- end -->
|
<!-- end -->
|
||||||
<!-- <tr><td class="score">
|
|
||||||
<%= l(:label_user_grade)%>:
|
|
||||||
<%= link_to(format("%.2f" , finall_user_score).to_f, {:controller => 'users',
|
|
||||||
:action => 'show_score',
|
|
||||||
:remote => true,
|
|
||||||
:id => @user.id
|
|
||||||
}, :style => 'color :#E8770D;') %>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
-->
|
|
||||||
|
|
||||||
</table></td>
|
</table></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
@ -39,11 +39,7 @@
|
||||||
|
|
||||||
<!-- modified by bai -->
|
<!-- modified by bai -->
|
||||||
<div style="position:relative;float:left;margin-top:-2px;margin-left: 160px">
|
<div style="position:relative;float:left;margin-top:-2px;margin-left: 160px">
|
||||||
<%= l(:label_user_grade) %>: <span style="color:#ec6300"> <%= link_to( format("%.2f" , finall_user_score).to_f, {:controller => 'users',
|
<%= l(:label_user_grade) %>: <span style="color:#ec6300"> <%= render :partial => 'users/user_score', :locals => {:user => user}%></span>
|
||||||
:action => 'show_score',
|
|
||||||
:remote => true,
|
|
||||||
:id => user.id},
|
|
||||||
:style=>"color: #EC6300;") %></span>
|
|
||||||
</div>
|
</div>
|
||||||
<!-- end -->
|
<!-- end -->
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<%= l(:label_user_grade)%>:
|
<%= l(:label_user_grade)%>:
|
||||||
<%= link_to(format("%.2f" , @user.user_score_attr.total_score).to_f, {:controller => 'users',
|
<%= link_to(format("%.2f" , user.user_score_attr.total_score).to_f, {:controller => 'users',
|
||||||
:action => 'show_new_score',
|
:action => 'show_new_score',
|
||||||
:remote => true,
|
:remote => true,
|
||||||
:id => user.id
|
:id => user.id
|
||||||
|
|
|
@ -40,11 +40,7 @@
|
||||||
<!-- modified by bai -->
|
<!-- modified by bai -->
|
||||||
<div style="position:relative;float:left;margin-top:-2px;margin-left: 160px">
|
<div style="position:relative;float:left;margin-top:-2px;margin-left: 160px">
|
||||||
<%= l(:label_user_grade) %>: <span style="color:#ec6300">
|
<%= l(:label_user_grade) %>: <span style="color:#ec6300">
|
||||||
<%= link_to( format("%.2f" , finall_user_score).to_f, {:controller => 'users',
|
<%= render :partial => 'users/user_score', :locals => {:user => user}%></span>
|
||||||
:action => 'show_score',
|
|
||||||
:remote => true,
|
|
||||||
:id => user.id},
|
|
||||||
:style=>"color: #EC6300;") %></span>
|
|
||||||
</div>
|
</div>
|
||||||
<!-- end -->
|
<!-- end -->
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue