应用页面增加显示最终得分的分值

This commit is contained in:
wanglinchun 2014-05-12 19:39:58 +08:00
parent dcc4167e06
commit 121b6389d5
1 changed files with 1 additions and 0 deletions

View File

@ -82,6 +82,7 @@
</div>
<div style="float: left; padding-left: 100px; padding-top:35px ">
<div style="padding-left: 25px;">最终得分</div>
<div style="padding-left: 32px; padding-top: 1px; font-size: 15px; color: blue"><%= @softapplication.average(:quality).avg%>&nbsp;分</div>
<div style="padding-top: 3px"><%= rating_for @softapplication, :static => true, dimension: :quality, class: 'rateable div_inline' %></div>
</div>
<div style="float: left; padding-left: 100px; padding-top:35px ">