{% load i18n %} {% load translations %} {% load humanize %} {% load icons %} {% with plan=billing.plan %} {% if billing.expiry %} {% endif %} {% if billing.removal %} {% endif %} {% include "billing/used.html" with max=plan.limit_strings total=plan.display_limit_strings used=billing.count_strings %} {% include "billing/used.html" with max=plan.limit_languages total=plan.display_limit_languages used=billing.count_languages %} {% include "billing/used.html" with max=plan.limit_projects total=plan.display_limit_projects used=billing.all_projects|length %} {% if billing.all_projects %} {% else %} {% endif %} {% if user.is_superuser %} {% endif %}
{% trans "Current plan" %} {{ plan.name }} ({{ billing.get_state_display }}) {% if payment_enabled and billing.can_be_paid %} {% trans "Change plan" %} {% endif %}
{% trans "Trial expiry date" %} {{ billing.expiry|naturaltime }} {% if user.is_superuser %} {% trans "Extend trial" %} {% endif %}
{% trans "Scheduled removal" %} {{ billing.removal|naturaltime }} {% if billing.is_trial and user.is_superuser %} {% trans "Extend trial" %} {% endif %}
{% trans "Monthly price" %} {{ plan.price|intcomma }} EUR {% if payment_enabled and billing.can_be_paid and plan.price %}
{% csrf_token %}
{% endif %}
{% trans "Yearly price" %} {{ plan.yearly_price|intcomma }} EUR {% if payment_enabled and billing.can_be_paid and plan.yearly_price %}
{% csrf_token %}
{% endif %}
{% trans "Strings limit" %}
{% trans "Languages limit" %}
{% trans "Last invoice" %} {{ billing.last_invoice }}
{% trans "Projects limit" %}
{% include "snippets/list-objects.html" with objects=billing.all_projects hide_details=1 %}
{% trans "Projects" %} {% trans "No projects currently assigned!" %} {% if billing.is_active %} {% trans "Add new translation project" %} {% endif %}
{% trans "Owners" %} {% for owner in billing.owners.all %}

{% icon "account.svg" %} {{ owner }} @{{ owner.username }} {{ owner.email }} {% if user.is_superuser %} {% trans "Check user access" %} {% endif %}

{% endfor %}
{% endwith %}