{% extends 'account_layout.html' %} {% load i18n %} {% load static %} {% block pagetitle %}{% trans 'Your account' %}{% endblock %} {% block headers %} {% endblock %} {% block account_content_outer %}
{% if user_motd %}

{{ user_motd | safe }}

{% endif %}
{% if not active_subscription %} {% endif %}
{% trans "Username" %} {{user.username}}
{% trans "Status" %}
{% trans "Subscription" %} {% if active_subscription %} {% blocktrans trimmed with until=active_subscription.next_renew|default:user.vpnuser.expiration|date:'Y-m-d' backend=active_subscription.backend.backend_verbose_name %} ACTIVE. Renews on {{until}} via {{backend}}. {% endblocktrans %} ({% trans "cancel" %}) {% elif last_subscription %} {% if last_subscription.status == 'cancelled' %} {% trans "CANCELLED. You can subscribe again below." %} {% elif last_subscription.status == 'error' %} {% trans "Last payment failed, likely because your card expired." %} {% trans "You can update your subscription below." %} {% elif last_subscription.status == 'new' %} {% trans "Pending" %} {% endif %} {% else %} - {% endif %}
{% trans "Expiration" %} {{user.vpnuser.expiration|date:'Y-m-d H:i'|default:'-'}} {% if user.vpnuser.is_paid %} {% blocktrans trimmed with left=user.vpnuser.expiration|timeuntil %} ({{ left }} left) {% endblocktrans %} {% endif %}
{% if not active_subscription %}
{% endif %}

{% blocktrans trimmed %} Please recommend us to your friends and on social media! We do not advertise and rely on you to help us grow and improve our services. {% endblocktrans %}
{% blocktrans trimmed %} Every subscription through this link will grant you 1 month of VPN access: {% endblocktrans %}

{% endblock %}