{% load i18n %}
{% load permissions %}
{% load translations %}
{% load urlformat %}

<tr>
<th>{% trans "Project website" %}</th>
<td class="full-cell"><a href="{{ object.web }}">{{ object.web | urlformat }}</a></td>
</tr>

{% if object.instructions %}
<tr>
<th>{% trans "Instructions for translators" %}</th>
<td class="full-cell">{{ object.instructions|markdown }}</td>
</tr>
{% endif %}

{% perm 'billing.view' object as user_can_view_billing %}

{% if user_can_view_billing %}
{% if object.billings %}
<tr>
<th>{% trans "Billing" %}</th>
<td class="full-cell">
{% for billing in object.billings %}
  <a href="{{ billing.get_absolute_url }}">
    {% include "billing/state-snippet.html" with object=billing %}
  </a>
{% endfor %}
</td>
</tr>
{% endif %}
{% endif %}

{% if object.all_admins %}
<tr>
  <th>{% trans "Project maintainers" %}</th>
  <td class="full-cell">
    {% for admin in object.all_admins %}
      {{ admin.profile.get_user_display_link }}
    {% endfor %}
  </td>
</tr>
{% endif %}
