From c0296b9adacab52f6ff82a16e4020b3efc454959 Mon Sep 17 00:00:00 2001
From: klmp200
{% if get_subscriber(profile).is_subscribed() %}
-{% trans subscription_end=get_subscriber(profile).subscriptions.last().subscription_end %}Subscribed until {{ subscription_end }}{% endtrans %}
-{% trans %}Account number: {% endtrans %}{{ profile.customer.account_id }}
-{% if get_subscriber(profile).tokens.exists() %}
-
-{% for i in get_subscriber(profile).tokens.all() %}
-
-{% endif %}
+ {% trans subscription_end=get_subscriber(profile).subscriptions.last().subscription_end %}Subscribed until {{ subscription_end }}{% endtrans %}
+ {% trans %}Account number: {% endtrans %}{{ profile.customer.account_id }}
+ {# Shows tokens bought by the user #}
+ {% if get_subscriber(profile).tokens.exists() %}
+ {% trans %}Tokens{% endtrans %}
+
+ {% for i in get_subscriber(profile).tokens.all() %}
+
+ {% endif %}
+ {# Shows slots took by the user #}
+ {% if get_subscriber(profile).slots.exists() %}
+ {% trans %}Slot{% endtrans %}
+
+ {% for i in get_subscriber(profile).slots.all() %}
+
+ {% endif %}
{% else %}
-{% trans %}Not subscribed{% endtrans %}
-{% if user.is_in_group(settings.SITH_MAIN_BOARD_GROUP) %}
-{% trans %}New subscription{% endtrans %}
-{% endif %}
-{% endif %}
-