{% load i18n %} {% load translations %} {% with billing.plan as plan %}
{% trans "Current plan" %} | {{ plan.name }} ({{ billing.get_state_display }}{% if billing.expiry %}{% blocktrans with expires=billing.expiry|naturaltime %}, expires {{ expires }}{% endblocktrans %}{% endif %}) | {% trans "See other plans" %} |
---|---|---|
{% trans "Monthly price" %} | {{ plan.price }} EUR | |
{% trans "Yearly price" %} | {{ plan.yearly_price }} EUR | |
{% trans "Strings limit" %} | {% with plan.limit_strings as max and plan.display_limit_strings as total and billing.count_strings as used %} {% include "billing/used.html" %} {% endwith %}||
{% trans "Languages limit" %} | {% with plan.limit_languages as max and plan.display_limit_languages as total and billing.count_languages as used %} {% include "billing/used.html" %} {% endwith %}||
{% trans "Last invoice" %} | {{ billing.last_invoice }} | |
{% trans "Projects limit" %} | {% with plan.limit_projects as max and plan.display_limit_projects as total and projects|length as used %} {% include "billing/used.html" %} {% endwith %}||
{% 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 %}
|