{% load i18n %} {% load translations %} {% load humanize %} {% with billing.plan as plan %} {% 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 projects|length as used %} {% include "billing/used.html" %} {% endwith %}
{% trans "Current plan" %} {{ plan.name }} ({{ billing.get_state_display }}{% if billing.expiry %}{% blocktrans with expires=billing.expiry|naturaltime %}, expires {{ expires }}{% endblocktrans %}{% endif %}) {% if not hide_buttons and payment_enabled and billing.can_be_paid %} {% trans "Change plan" %} {% endif %}
{% trans "Monthly price" %} {{ plan.price|intcomma }} EUR {% if payment_enabled and billing.can_be_paid and plan.price and not hide_buttons %}
{% csrf_token %}
{% endif %}
{% trans "Yearly price" %} {{ plan.yearly_price|intcomma }} EUR {% if payment_enabled and billing.can_be_paid and plan.yearly_price and not hide_buttons %}
{% csrf_token %}
{% endif %}
{% trans "Strings limit" %}
{% trans "Languages limit" %}
{% trans "Last invoice" %} {{ billing.last_invoice }}
{% trans "Projects limit" %}
{% trans "Projects" %}
{% for project in projects %} {{ project }} {% empty %} {% trans "No projects currently assigned!" as msg %} {% show_message "warning" msg %} {% if billing.is_active %} {% trans "Add new translation project" %} {% endif %} {% endfor %}
{% endwith %}