{% load i18n %} {% load translations %} {% 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_repositories as max and plan.display_limit_repositories as total and billing.count_repositories as used %} {% include "billing/used.html" %} {% endwith %} {% with plan.limit_projects as max and plan.display_limit_projects as total and billing.projects.count 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 %}){% trans "See other plans" %}
{% trans "Monthly price" %}{{ plan.price }} EUR
{% trans "Yearly price" %}{{ plan.yearly_price }} EUR
{% trans "Strings limit" %}
{% trans "Languages limit" %}
{% trans "Repositories limit" %}
{% trans "Last invoice" %} {{ billing.last_invoice }}
{% trans "Projects limit" %}
{% trans "Projects" %}
{% for project in billing.projects.all %} {{ 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 %}