Show
Ignore:
Timestamp:
12/10/07 23:16:23 (15 years ago)
Author:
ralle030583
Message:

- fix for not displayed dropped items when nothing was lost in same slot
- added percent value of Damage Done in kill_details
-fixed broken link in admin_kill_import

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/templates/kill_detail.tpl

    r254 r279  
    3838                </tr> 
    3939                <tr class={cycle name=ccl}> 
    40                     <td colspan=2 class=kb-table-cell style="padding-top: 1px; padding-bottom: 1px;">Damage done:</td><td class=kb-table-cell style="padding-top: 1px; padding-bottom: 1px;">{$i.damageDone|number_format}</td> 
     40                    <td colspan=2 class=kb-table-cell style="padding-top: 1px; padding-bottom: 1px;">Damage done:</td><td class=kb-table-cell style="padding-top: 1px; padding-bottom: 1px;">{$i.damageDone|number_format} ({$i.damageDone/$VictimDamageTaken*100|number_format}%)</td> 
    4141                </tr> 
    4242{/foreach} 
     
    6565{foreach from=$destroyed item=slot key=slotindex} 
    6666{* set to true to show empty slots *} 
    67 {if $slot.items or $dropped.slotindex.items} 
     67{if $slot.items or $dropped.$slotindex.items} 
    6868                <tr class="kb-table-row-even"> 
    6969                    <td class="item-icon" width="32"><img width="32" height="32" src="{$img_url}/{$slot.img}" alt="{$slot.text}" border="0"></td>