Merge pull request #3411 from timothyjrogers/fix-link-verification-modal-unauthenticated-buttons

Narrowed is_authenticated check in verfication_modal to only restrict…
This commit is contained in:
Mouse Reeve 2024-08-12 19:11:07 -07:00 committed by GitHub
commit 7ff1ab974e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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 %}