mirror of
https://github.com/ae-utbm/sith.git
synced 2024-12-23 00:01:16 +00:00
Fix date displaying in user_detail
This commit is contained in:
parent
cd4b0d8e0c
commit
2bb510932b
@ -73,7 +73,7 @@
|
||||
{%- endmacro %}
|
||||
|
||||
{% macro user_subscription(user) %}
|
||||
{% trans subscription_end=user.subscriptions.last().subscription_end %}Subscribed until {{ subscription_end }}{% endtrans %}<br/>
|
||||
{% trans subscription_end=user.subscriptions.order_by('subscription_end').last().subscription_end %}Subscribed until {{ subscription_end }}{% endtrans %}<br/>
|
||||
{% trans %}Account number: {% endtrans %}{{ user.customer.account_id }}<br/>
|
||||
{%- endmacro %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user