diff --git a/core/templates/core/user_detail.jinja b/core/templates/core/user_detail.jinja index 0b31dc14..f9696be0 100644 --- a/core/templates/core/user_detail.jinja +++ b/core/templates/core/user_detail.jinja @@ -57,7 +57,9 @@
{% if get_subscriber(profile).is_subscribed() %}
{% trans subscription_end=get_subscriber(profile).subscriptions.last().subscription_end %}Subscribed until {{ subscription_end }}{% endtrans %}
+ {% if user == profile or user.is_root %}
{% trans %}Account number: {% endtrans %}{{ profile.customer.account_id }}
+ {% endif %}
{# Shows tokens bought by the user #}
{{ show_tokens(profile) }}
{# Shows slots took by the user #}