{% extends "layouts/base.html" %} {% load i18n action_icons %} {% block title %}{% trans "Source User Dashboard" %} - {{ source.name_en }}{% endblock %} {% block content %}
{% trans "Welcome" %}, {{ request.user.get_full_name }}! {% trans "You're managing feedback from this source." %}
| {% trans "ID" %} | {% trans "Title" %} | {% trans "Patient" %} | {% trans "Category" %} | {% trans "Status" %} | {% trans "Priority" %} | {% trans "Created" %} | {% trans "Actions" %} |
|---|---|---|---|---|---|---|---|
{{ complaint.id|slice:":8" }} |
{{ complaint.title|truncatewords:8 }} | {{ complaint.patient.get_full_name }} | {{ complaint.get_category_display }} | {% if complaint.status == 'open' %} {% trans "Open" %} {% elif complaint.status == 'in_progress' %} {% trans "In Progress" %} {% elif complaint.status == 'resolved' %} {% trans "Resolved" %} {% else %} {% trans "Closed" %} {% endif %} | {% if complaint.priority == 'high' %} {% trans "High" %} {% elif complaint.priority == 'medium' %} {% trans "Medium" %} {% else %} {% trans "Low" %} {% endif %} | {{ complaint.created_at|date:"Y-m-d" }} | {% action_icon 'view' %} |
|
{% trans "No complaints found for this source." %} |
|||||||
| {% trans "ID" %} | {% trans "Subject" %} | {% trans "Patient" %} | {% trans "Category" %} | {% trans "Status" %} | {% trans "Created" %} | {% trans "Actions" %} |
|---|---|---|---|---|---|---|
{{ inquiry.id|slice:":8" }} |
{{ inquiry.subject|truncatewords:8 }} | {% if inquiry.patient %} {{ inquiry.patient.get_full_name }} {% else %} {{ inquiry.contact_name|default:"-" }} {% endif %} | {{ inquiry.get_category_display }} | {% if inquiry.status == 'open' %} {% trans "Open" %} {% elif inquiry.status == 'in_progress' %} {% trans "In Progress" %} {% elif inquiry.status == 'resolved' %} {% trans "Resolved" %} {% else %} {% trans "Closed" %} {% endif %} | {{ inquiry.created_at|date:"Y-m-d" }} | {% action_icon 'view' %} |
|
{% trans "No inquiries found for this source." %} |
||||||