{% load humanize i18n icons permissions translations %} {% perm 'billing.manage' billing as user_can_manage_billing %} {% with plan=billing.plan %}
{% translate "Current plan" %} | {{ plan.name }} ({{ billing.get_state_display }}) | {% if payment_enabled and billing.can_be_paid %} {% translate "Change plan" %} {% endif %} |
---|---|---|
{% translate "Trial expiry date" %} | {{ billing.expiry|naturaltime }} | {% if user_can_manage_billing %} {% translate "Extend trial" %} {% endif %} |
{% translate "Scheduled removal" %} | {{ billing.removal|naturaltime }} | {% if user_can_manage_billing %} {% translate "Extend trial" %} {% endif %} |
{% translate "Monthly price" %} | {{ plan.price|intcomma }} EUR | {% if payment_enabled and billing.can_be_paid and plan.price %} {% endif %} |
{% translate "Yearly price" %} | {{ plan.yearly_price|intcomma }} EUR | {% if payment_enabled and billing.can_be_paid and plan.yearly_price %} {% endif %} |
{% translate "Hosted strings limit" %} | {% include "billing/used.html" with max=plan.limit_hosted_strings total=plan.display_limit_hosted_strings used=billing.count_hosted_strings %}||
{% translate "Strings limit" %} | {% include "billing/used.html" with max=plan.limit_strings total=plan.display_limit_strings used=billing.count_strings %}||
{% translate "Languages limit" %} | {% include "billing/used.html" with max=plan.limit_languages total=plan.display_limit_languages used=billing.count_languages %}||
{% translate "Projects limit" %} | {% include "billing/used.html" with max=plan.limit_projects total=plan.display_limit_projects used=billing.all_projects|length %}||
{% translate "Last invoice" %} | {{ billing.last_invoice }} | |
{% include "snippets/list-objects.html" with objects=billing.all_projects hide_details=1 %} | ||
{% translate "Projects" %} | {% translate "No projects currently assigned!" %} | {% if billing.is_active %} {% translate "Add new translation project" %} {% endif %} |
{% translate "Owners" %} |
{% for owner in billing.owners.all %}
{{ owner }} @{{ owner.username }} {{ owner.email }} {% if user_can_manage_billing %} {% translate "Check user access" %} {% endif %} {% endfor %} |