fix: closed review request "by (System)" (#4255)

Only display the user in the "Requested" column if it's a real human
(i.e., not "System").

Fix #3687
This commit is contained in:
Justin Iurman 2022-07-24 14:28:06 +02:00 committed by GitHub
parent 98af0e8a58
commit f58033e36f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -166,7 +166,10 @@
{{ r.type }}
</td>
<td>
{{ r.time|date:"Y-m-d" }} by {% person_link r.requested_by %}
{{ r.time|date:"Y-m-d" }}
{% if r.requested_by.id != 1 %}
by {% person_link r.requested_by %}
{% endif %}
</td>
<td>
{{ r.deadline|date:"Y-m-d" }}