{% extends "layouts/base.html" %} {% load i18n %} {% block title %}{% trans "Complaint Templates" %} - PX360{% endblock %} {% block extra_css %} {% endblock %} {% block content %}

{% trans "Complaint Templates" %}

{% trans "Pre-defined templates for common complaints" %}

{% trans "New Template" %}

{% trans "Filters" %}

{% for template in templates %}
{% if template.is_active %} {% trans "Active" %} {% else %} {% trans "Inactive" %} {% endif %}

{{ template.name }}

{{ template.description|truncatewords:15 }}

{{ template.usage_count }} {% trans "uses" %}
{% if template.category %} {{ template.category.get_localized_name }} {% endif %}
{{ template.hospital.name }}
{% if user.is_px_admin %} {% endif %}
{% empty %}

{% trans "No templates found" %}

{% trans "Create your first template to get started" %}

{% trans "Create Template" %}
{% endfor %}
{% endblock %}