06/09 Add color to distinguish issue is reported by staff or customer

This commit is contained in:
2026-06-09 13:34:35 -04:00
parent 676b545ead
commit 7bb2d752f1
+5
View File
@@ -21,6 +21,11 @@
<dd class="col-sm-9"> <dd class="col-sm-9">
{% if issue.reporter %} {% if issue.reporter %}
{{ issue.reporter.display_name }} {{ issue.reporter.display_name }}
{% if issue.reporter.role == 'customer' %}
<span class="badge bg-info text-dark ms-1">Customer</span>
{% else %}
<span class="badge bg-secondary ms-1">{{ issue.reporter.role|replace('_',' ')|title }}</span>
{% endif %}
{% else %} {% else %}
<span class="text-muted"></span> <span class="text-muted"></span>
{% endif %} {% endif %}