mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-09-26 13:30:13 +00:00
Fixes some user/reported_user references
This commit is contained in:
parent
052823e0c9
commit
d4013b9721
1 changed files with 8 additions and 8 deletions
|
@ -57,9 +57,9 @@
|
|||
{% endif %}
|
||||
|
||||
{% if report.reported_user %}
|
||||
{% include 'settings/users/user_info.html' with reported_user=report.reported_user %}
|
||||
{% include 'settings/users/user_info.html' with user=report.reported_user %}
|
||||
|
||||
{% include 'settings/users/user_moderation_actions.html' with reported_user=report.reported_user %}
|
||||
{% include 'settings/users/user_moderation_actions.html' with user=report.reported_user %}
|
||||
{% endif %}
|
||||
|
||||
<div class="block content">
|
||||
|
@ -70,8 +70,8 @@
|
|||
<li class="mb-2">
|
||||
<div class="is-flex">
|
||||
<p class="mb-0 is-flex-grow-1">
|
||||
{% blocktrans trimmed with reported_user=report.user|username user_link=report.user.local_path %}
|
||||
<a href="{{ user_link }}">{{ reported_user}}</a> opened this report
|
||||
{% blocktrans trimmed with user=report.user|username user_link=report.user.local_path %}
|
||||
<a href="{{ user_link }}">{{ user }}</a> opened this report
|
||||
{% endblocktrans %}
|
||||
</p>
|
||||
<span class="tag">{{ report.created_date }}</span>
|
||||
|
@ -83,12 +83,12 @@
|
|||
<div class="is-flex">
|
||||
<p class="mb-0 is-flex-grow-1">
|
||||
{% if comment.action_type == "comment" %}
|
||||
{% blocktrans trimmed with reported_user=comment.reported_user|username user_link=comment.reported_user.local_path %}
|
||||
<a href="{{ user_link }}">{{ reported_user}}</a> commented on this report:
|
||||
{% blocktrans trimmed with user=comment.user|username user_link=comment.user.local_path %}
|
||||
<a href="{{ user_link }}">{{ user}}</a> commented on this report:
|
||||
{% endblocktrans %}
|
||||
{% else %}
|
||||
{% blocktrans trimmed with reported_user=comment.reported_user|username user_link=comment.reported_user.local_path %}
|
||||
<a href="{{ user_link }}">{{ reported_user}}</a> took an action on this report:
|
||||
{% blocktrans trimmed with user=comment.user|username user_link=comment.user.local_path %}
|
||||
<a href="{{ user_link }}">{{ user}}</a> took an action on this report:
|
||||
{% endblocktrans %}
|
||||
<span class="has-text-weight-bold">
|
||||
{{ comment.get_action_type_display }}
|
||||
|
|
Loading…
Reference in a new issue