06/09 Add color to distinguish issue is reported by staff or customer
This commit is contained in:
@@ -21,6 +21,11 @@
|
||||
<dd class="col-sm-9">
|
||||
{% if issue.reporter %}
|
||||
{{ 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 %}
|
||||
<span class="text-muted">—</span>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user