{% load i18n %} {% load permissions %} {% load translations %} {% load urlformat %} {% trans "Project website" %} {{ object.web | urlformat }} {% if object.mail %} {% trans "Mailing list for translators" %} {{ object.mail }} {% endif %} {% if object.instructions %} {% trans "Instructions for translators" %} {{ object.instructions|markdown }} {% endif %} {% perm 'billing.view' object as user_can_view_billing %} {% if user_can_view_billing %} {% with object.billing_set.all as billings %} {% if billings %} {% trans "Billing" %} {% for billing in billings %} {{ billing.plan }} {% if billing.is_trial %} {% trans "Trial" %} {% endif %} {% if not billing.is_active %} {% trans "Expired" %} {% endif %} {% endfor %} {% endif %} {% endwith %} {% endif %}