mirror of
https://github.com/ae-utbm/sith.git
synced 2025-08-06 17:19:55 +00:00
Merge branch 'bugfix' into 'master'
Fix date displaying in user_detail See merge request ae/Sith!127
This commit is contained in:
@@ -73,7 +73,7 @@
|
|||||||
{%- endmacro %}
|
{%- endmacro %}
|
||||||
|
|
||||||
{% macro user_subscription(user) %}
|
{% 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/>
|
{% trans %}Account number: {% endtrans %}{{ user.customer.account_id }}<br/>
|
||||||
{%- endmacro %}
|
{%- endmacro %}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user