Add cancelled status to admin page

This commit is contained in:
Drew DeVault 2015-09-06 18:32:05 -04:00
parent 2482fa7952
commit e22d5ea193
1 changed files with 4 additions and 1 deletions

View File

@ -106,7 +106,10 @@
<td>{{ donation.project.name if donation.project else "" }}</td>
<td title="{{ donation.comment }}">{{ donation.comment if donation.comment else "" }}</td>
<td>${{ "{:.2f}".format(donation.amount / 100) }}</td>
<td>{{ "Once" if str(donation.type) == "DonationType.one_time" else "Monthly" }}</td>
<td>
{{ "Once" if str(donation.type) == "DonationType.one_time" else "Monthly" }}
{{ "(cancelled)" if not donation.active else "" }}
</td>
</tr>
{% endfor %}
</tbody>