mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-30 05:21:08 +00:00
Fixes links to report modals
This commit is contained in:
parent
4f386e8c4e
commit
d4f8a5f448
2 changed files with 2 additions and 2 deletions
|
@ -54,7 +54,7 @@
|
||||||
<td>
|
<td>
|
||||||
{{ link.domain.name }}
|
{{ link.domain.name }}
|
||||||
<p>
|
<p>
|
||||||
<a href="{% url 'report-link' 0 link.id %}">{% trans "Report spam" %}</a>
|
<a href="{% url 'report-link' link.id %}">{% trans "Report spam" %}</a>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
|
|
|
@ -19,7 +19,7 @@ Is that where you'd like to go?
|
||||||
{% block modal-footer %}
|
{% block modal-footer %}
|
||||||
{% if request.user.is_authenticated %}
|
{% if request.user.is_authenticated %}
|
||||||
<div class="is-flex-grow-1">
|
<div class="is-flex-grow-1">
|
||||||
<a href="{% url 'report-link' link.added_by.id link.id %}">{% trans "Report spam" %}</a>
|
<a href="{% url 'report-link' link.id %}">{% trans "Report spam" %}</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<button type="button" class="button" data-modal-close>{% trans "Cancel" %}</button>
|
<button type="button" class="button" data-modal-close>{% trans "Cancel" %}</button>
|
||||||
|
|
Loading…
Reference in a new issue