Fix display of funding progress in tables

This commit is contained in:
Sander Ferdinand 2018-07-04 22:38:32 +02:00
parent 95eed33f48
commit 45fdd53e40

View file

@ -23,7 +23,7 @@
<td id="date"><small>{{ p.date_added.strftime('%Y-%m-%d %H:%M') }}</small></td> <td id="date"><small>{{ p.date_added.strftime('%Y-%m-%d %H:%M') }}</small></td>
<td> <td>
<span style="float:right;"> <span style="float:right;">
{% if p.funds_progress >= 0.1 and status == 0 %} {% if p.funds_progress >= 0.1 and p.status >= 2 %}
{{p.funds_progress|int}}% {{p.funds_progress|int}}%
{% else %} {% else %}
- -