forked from mirrors/bookwyrm
29 lines
771 B
HTML
29 lines
771 B
HTML
{% extends 'components/modal.html' %}
|
|
{% load i18n %}
|
|
|
|
{% block modal-title %}
|
|
{% trans "Leaving BookWyrm" %}
|
|
{% endblock %}
|
|
|
|
|
|
{% block modal-body %}
|
|
|
|
{% blocktrans trimmed with link_url=link.url %}
|
|
This link is taking you to: <code>{{ link_url }}</code>.<br>
|
|
Is that where you'd like to go?
|
|
{% endblocktrans %}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
{% block modal-footer %}
|
|
<a href="{{ link.url }}" target="_blank" rel="noopener noreferrer" class="button is-primary">{% trans "Continue" %}</a>
|
|
<button type="button" class="button" data-modal-close>{% trans "Cancel" %}</button>
|
|
|
|
{% if request.user.is_authenticated %}
|
|
<div class="has-text-right is-flex-grow-1">
|
|
<a href="{% url 'report-link' link.added_by.id link.id %}">{% trans "Report spam" %}</a>
|
|
</div>
|
|
{% endif %}
|
|
|
|
{% endblock %}
|