* fixed tr bgcolor (#38)

This commit is contained in:
slawkens1 2018-01-08 08:11:35 +01:00
parent 4102b44352
commit bf71c1aee8

View File

@ -261,10 +261,11 @@
</tr> </tr>
{% set i = 0 %} {% set i = 0 %}
{% for frag in frags %} {% for frag in frags %}
<tr bgcolor="'{{ getStyle(i) }}"> <tr bgcolor="{{ getStyle(i) }}">
<td width="20%" align="center">{{ frag.time|date("j M Y, H:i") }}</td> <td width="20%" align="center">{{ frag.time|date("j M Y, H:i") }}</td>
<td>{{ frag.description|raw }}({% if frag.unjustified %}<font size="1" color="red">Unjustified</font>{% else %}<font size="1" color="green">Justified</font>{% endif %})</td> <td>{{ frag.description|raw }}({% if frag.unjustified %}<font size="1" color="red">Unjustified</font>{% else %}<font size="1" color="green">Justified</font>{% endif %})</td>
</tr> </tr>
{% set i = i + 1 %}
{% endfor %} {% endfor %}
</table> </table>
<!-- FRAGS_END --> <!-- FRAGS_END -->