Skip to content

Commit

Permalink
Merge pull request #3411 from timothyjrogers/fix-link-verification-mo…
Browse files Browse the repository at this point in the history
…dal-unauthenticated-buttons

Narrowed is_authenticated check in verfication_modal to only restrict…
  • Loading branch information
mouse-reeve authored Aug 13, 2024
2 parents cf753af + cf61279 commit 7ff1ab9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bookwyrm/templates/book/file_links/verification_modal.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@
<div class="is-flex-grow-1">
<a href="{% url 'report-link' link.id %}">{% trans "Report spam" %}</a>
</div>
{% endif %}

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


{% endblock %}

0 comments on commit 7ff1ab9

Please sign in to comment.