{% extends "layouts/base.html" %} {% load i18n %} {% block title %}{% translate "Complaint Thresholds" %} - PX360{% endblock %} {% block content %}
{% translate "Filters" %}
{% if request.user.is_px_admin %}
{% endif %}
{% translate "Clear" %}
{% if thresholds %}
{% for threshold in thresholds %} {% endfor %}
{% translate "Hospital" %} {% translate "Threshold Name" %} {% translate "Type" %} {% translate "Metric" %} {% translate "Threshold Value" %} {% translate "Category" %} {% translate "Action" %} {% translate "Status" %} {% translate "Actions" %}
{{ threshold.hospital.name }} {{ threshold.name }} {{ threshold.get_threshold_type_display }} {{ threshold.get_metric_type_display }} {{ threshold.threshold_value }} {% if threshold.complaint_category %} {{ threshold.complaint_category.name }} {% else %} {% translate "All Categories" %} {% endif %} {{ threshold.get_action_display }} {% if threshold.is_active %} {% translate "Active" %} {% else %} {% translate "Inactive" %} {% endif %}
{% csrf_token %}
{% if page_obj.has_other_pages %} {% endif %} {% else %}

{% translate "No thresholds found. Create your first threshold to get started." %}

{% translate "Create Threshold" %}
{% endif %}
{% endblock %}