Skip to content

Commit

Permalink
Fix error with delete rott report for comment
Browse files Browse the repository at this point in the history
  • Loading branch information
vmordan committed Jun 28, 2024
1 parent 736e0cf commit 073b047
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion web/users/templates/users/showComments.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,13 @@ <h1>{% trans 'Comments to unsafe marks' %}</h1>
<td>{{ forloop.counter }}</td>
<td>{{ comment.date }}</td>
<td><a href="{% url 'users:show_profile' comment.author.id %}">{{ comment.author.username }}</a></td>
<td><a href="{% url 'jobs:job' comment.mark.report.root.job.id %}">{{comment.mark.report.root.job.name}}</a></td>
<td>
{% if comment.mark.report %}
<a href="{% url 'jobs:job' comment.mark.report.root.job.id %}">{{comment.mark.report.root.job.name}}</a>
{% else %}
{% trans 'Root report was deleted' %}
{% endif %}
</td>
<td style="text-align: left">
{{ comment.description|safe }}
<br>
Expand Down

0 comments on commit 073b047

Please sign in to comment.