SixNine
Active Member
- Joined
- Dec 12, 2018
- Messages
- 452
- Reaction score
- 41
Hi,
so i noticed only now that my Death section shows only one death rows when it should show 10 rows of player deaths. So im not sure where is the issue
so i noticed only now that my Death section shows only one death rows when it should show 10 rows of player deaths. So im not sure where is the issue
HTML:
{% if deaths|length > 0 %}
<!-- DEATHS -->
<br/>
<table border="0" cellspacing="1" cellpadding="4" width="100%">
<tr bgcolor="{{ config.vdarkborder }}">
<td colspan="2" class="white"><b>Deaths</b></td>
</tr>
{% set i = 0 %}
{% for death in deaths %}
<tr bgcolor="{{ getStyle(i) }}">
<td width="23%" align="center">{{ death.time|date("j M Y, H:i") }}</td>
<td>{{ death.description|raw }}</td>
</tr>
{% set i = i + 1 %}
{% endfor %}
<!-- DEATHS_END -->/code]