{% load i18n %} {% load translations %} {% load humanize %} {% load icons %} {% with plan=billing.plan %}
{% 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 %} {% endif %} |
{% trans "Yearly price" %} | {{ plan.yearly_price|intcomma }} EUR | {% if payment_enabled and billing.can_be_paid and plan.yearly_price %} {% endif %} |
{% trans "Strings limit" %} | {% include "billing/used.html" with max=plan.limit_strings total=plan.display_limit_strings used=billing.count_strings %}||
{% trans "Languages limit" %} | {% include "billing/used.html" with max=plan.limit_languages total=plan.display_limit_languages used=billing.count_languages %}||
{% trans "Last invoice" %} | {{ billing.last_invoice }} | |
{% trans "Projects limit" %} | {% include "billing/used.html" with max=plan.limit_projects total=plan.display_limit_projects used=billing.all_projects|length %}||
{% 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 %}
{{ owner }} @{{ owner.username }} {{ owner.email }} {% if user.is_superuser %} {% trans "Check user access" %} {% endif %} {% endfor %} |