Fixes links to report modals

This commit is contained in:
Mouse Reeve 2022-07-05 17:43:03 -07:00
parent 4f386e8c4e
commit d4f8a5f448
2 changed files with 2 additions and 2 deletions

View file

@ -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>

View file

@ -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>