Narrowed is_authenticated check in verfication_modal to only restrict report button

This commit is contained in:
Tim Rogers 2024-08-12 19:56:26 -05:00
parent cf753afaa9
commit cf61279e18

View file

@ -21,9 +21,10 @@ Is that where you'd like to go?
<div class="is-flex-grow-1"> <div class="is-flex-grow-1">
<a href="{% url 'report-link' link.id %}">{% trans "Report spam" %}</a> <a href="{% url 'report-link' link.id %}">{% trans "Report spam" %}</a>
</div> </div>
{% endif %}
<button type="button" class="button" data-modal-close>{% trans "Cancel" %}</button> <button type="button" class="button" data-modal-close>{% trans "Cancel" %}</button>
<a href="{{ link.url }}" target="_blank" rel="nofollow noopener noreferrer" noreferrer" class="button is-primary">{% trans "Continue" %}</a> <a href="{{ link.url }}" target="_blank" rel="nofollow noopener noreferrer" noreferrer" class="button is-primary">{% trans "Continue" %}</a>
{% endif %}
{% endblock %} {% endblock %}