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

{% trans "Step 1 — Classified Patient Comments" %}

{% trans "Classified comments with categories and sentiment" %}

{% trans "Filters" %}
{% trans "Comments" %}
{% trans "Total:" %} {{ page_obj.paginator.count }}
{% for c in page_obj %} {% empty %} {% endfor %}
# {% trans "Source" %} {% trans "Comment" %} {% trans "Classification" %} {% trans "Sub-Category" %} {% trans "Sentiment" %} {% trans "Negative" %} {% trans "Positive" %}
{{ c.serial_number }} {{ c.get_source_category_display }} {{ c.comment_text }} {{ c.get_classification_display }} {{ c.get_sub_category_display }} {% if c.sentiment == 'negative' %} {{ c.get_sentiment_display }} {% elif c.sentiment == 'positive' %} {{ c.get_sentiment_display }} {% elif c.sentiment == 'neutral' %} {{ c.get_sentiment_display }} {% else %} {{ c.get_sentiment_display }} {% endif %} {{ c.negative_keywords }} {{ c.positive_keywords }}

{% trans "No comments found." %}

{% if page_obj.has_other_pages %}
{% trans "Showing" %} {{ page_obj.start_index }}-{{ page_obj.end_index }} {% trans "of" %} {{ page_obj.paginator.count }} {% trans "entries" %}
{% if page_obj.has_previous %} {% else %} {% endif %} {% for num in page_obj.paginator.page_range %} {% if page_obj.number == num %} {{ num }} {% elif num > page_obj.number|add:'-3' and num < page_obj.number|add:'3' %} {{ num }} {% elif num == 1 or num == page_obj.paginator.num_pages %} {{ num }} {% elif num == page_obj.number|add:'-3' or num == page_obj.number|add:'3' %} ... {% endif %} {% endfor %} {% if page_obj.has_next %} {% else %} {% endif %}
{% endif %}
{% endblock %}