{% extends "layouts/base.html" %} {% load i18n %} {% block title %}Comments Analysis Report - PX360{% endblock %} {% block content %}

{% trans "Survey Comments Analysis" %}

{% trans "Comment classification, sentiment analysis, and action plan tracking" %}

{% if no_data %}

{% trans "No Comment Data" %}

{% trans "No survey comments found for the selected hospital and period." %}

{% else %}

{% trans "Total Comments" %}

{{ summary.total }}

{% trans "Negative" %}

{{ summary.negative }}

{% trans "Positive" %}

{{ summary.positive }}

{% if by_category %}

{% trans "By Category" %}

{% trans "By Sentiment" %}

{% endif %} {% if by_subcategory %}

{% trans "Sub-Category Breakdown" %}

{% for row in by_subcategory %} {% endfor %}
{% trans "Category" %} {% trans "Sub-Category" %} {% trans "Count" %}
{{ row.category }} {{ row.subcategory }} {{ row.count }}
{% endif %} {% if action_plans %}

{% trans "Action Plans" %}

{% for row in action_plans %} {% endfor %}
{% trans "Category" %} {% trans "Comment" %} {% trans "Action Plan" %} {% trans "Responsible" %} {% trans "Status" %}
{{ row.category }} {{ row.comment }} {{ row.action_plan }} {{ row.responsible }} {{ row.status }}
{% endif %} {% endif %}
{% endblock %} {% block extra_js %} {% if not no_data and chart_data_json %} {% endif %} {% endblock %}