fix a few bugs with reports and report permissions

This commit is contained in:
Laura Klünder 2019-12-24 18:07:42 +01:00
parent bcf52099b1
commit 06a3be2b80
2 changed files with 13 additions and 4 deletions

View file

@ -12,9 +12,9 @@
{% endif %}
{% if report.author %}
{% trans 'anonymous submission' %}
{% trans 'by' %} {{ report.author.username }}
{% else %}
{% trans 'by' %} {{ request.author.username }}
{% trans 'anonymous submission' %}
{% endif %}
{{ report.created }}