align text

This commit is contained in:
Robert Einsle 2017-02-09 20:10:21 +01:00
parent 3c500baf99
commit 8dac06a050

View File

@ -29,7 +29,7 @@
<tr>
<td>{{ acc.time_from|date:"d.m.Y H:i:s" }}</td>
<td>{% if acc.time_to is not None %}{{ acc.time_to|date:"d.m.Y H:i:s" }}{% endif %}</td>
<td>{% if acc.prize is not None %}{{ acc.prize|floatformat:2 }}{% endif %}</td>
<td style="text-align: center;">{% if acc.prize is not None %}{{ acc.prize|floatformat:2 }}{% endif %}</td>
</tr>
{% endfor %}
</table>
@ -47,7 +47,7 @@
<tr>
<td>{{ acc.time_from|date:"d.m.Y H:i:s" }}</td>
<td>{% if acc.time_to is not None %}{{ acc.time_to|date:"d.m.Y H:i:s" }}{% endif %}</td>
<td>{% if acc.prize is not None %}{{ acc.prize|floatformat:2 }}{% endif %}</td>
<td style="text-align: right;">{% if acc.prize is not None %}{{ acc.prize|floatformat:2 }}{% endif %}</td>
</tr>
{% endfor %}
</table>