bookwyrm/bookwyrm/templates/book/file_links/verification_modal.html

30 lines
760 B
HTML
Raw Normal View History

2022-01-10 19:47:52 +00:00
{% extends 'components/modal.html' %}
{% load i18n %}
{% block modal-title %}
{% trans "Leaving BookWyrm" %}
{% endblock %}
{% block modal-body %}
{% blocktrans trimmed with link_url=link.url %}
2022-01-10 22:55:10 +00:00
This link is taking you to: <code>{{ link_url }}</code>.<br>
Is that where you'd like to go?
2022-01-10 19:47:52 +00:00
{% endblocktrans %}
{% endblock %}
{% block modal-footer %}
2022-01-10 22:55:10 +00:00
{% if request.user.is_authenticated %}
<div class="is-flex-grow-1">
2022-07-06 00:43:03 +00:00
<a href="{% url 'report-link' link.id %}">{% trans "Report spam" %}</a>
2022-01-10 22:55:10 +00:00
</div>
<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>
2022-01-10 22:55:10 +00:00
{% endif %}
2022-01-10 19:47:52 +00:00
{% endblock %}