Ignore:
Timestamp:
Jul 25, 2011, 8:04:50 PM (13 years ago)
Author:
rvelices
Message:

feature 2384: improve average rating calculation (still need to update language files)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/themes/default/template/rating.tpl

    r8682 r11827  
    3838  <td>{'File'|@translate}</td>
    3939  <td>{'Number of rates'|@translate}</td>
     40        <td>{'Rating score'|@translate}</td>
    4041  <td>{'Average rate'|@translate}</td>
    4142  <td>{'Sum of rates'|@translate}</td>
     
    4950  <td rowspan="{$image.NB_RATES_TOTAL+1}"><a href="{$image.U_URL}"><img src="{$image.U_THUMB}" alt="{$image.FILE}" title="{$image.FILE}"></a></td>
    5051  <td rowspan="{$image.NB_RATES_TOTAL+1}"><strong>{$image.NB_RATES}/{$image.NB_RATES_TOTAL}</strong></td>
     52        <td rowspan="{$image.NB_RATES_TOTAL+1}"><strong>{$image.SCORE_RATE}</strong></td>
    5153  <td rowspan="{$image.NB_RATES_TOTAL+1}"><strong>{$image.AVG_RATE}</strong></td>
    5254  <td rowspan="{$image.NB_RATES_TOTAL+1}" style="border-right: 1px solid;" ><strong>{$image.SUM_RATE}</strong></td>
Note: See TracChangeset for help on using the changeset viewer.