{% load i18n %} {% load translations %} {% load humanize %} {% load icons %} {% with billing.plan as plan %} {% if billing.expiry %} {% endif %} {% if billing.removal %} {% endif %} {% with plan.limit_strings as max and plan.display_limit_strings as total and billing.count_strings as used %} {% include "billing/used.html" %} {% endwith %} {% with plan.limit_languages as max and plan.display_limit_languages as total and billing.count_languages as used %} {% include "billing/used.html" %} {% endwith %} {% with plan.limit_projects as max and plan.display_limit_projects as total and billing.all_projects|length as used %} {% include "billing/used.html" %} {% endwith %} {% 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 %}