{% load i18n %}

{% trans "Billing plan" %}

{% 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 }}){% 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 "Projects limit" %}
{% trans "Projects" %}
{% for project in billing.projects.all %} {{ project }} {% endfor %}
{% endwith %}