{% load i18n %}
| {% translate 'Name' %} | {% translate 'Service' %} | {% translate 'Accounts' %} | {% translate 'Last sync' %} | ||
|---|---|---|---|---|---|
| {% if service.is_active %}{% else %} {% endif %} | {{ service.name }} {% if service.failure_count > 0 %} {{ service.failure_count }} {% endif %} | {{ service.get_service_type_display }} | {% with linked=service.accounts.all %}{% for link in linked %}{% if link.account %}{% with error=link.remote_error|default:link.last_error %}{% if error %}{% endif %}{{ link.account.name }}{% endwith %}{% endif %}{% endfor %}{% endwith %} | {{ service.last_sync|date:"SHORT_DATETIME_FORMAT" }} |