{% load i18n %} {% load bookwyrm_tags %} {% load utilities %} {% get_book_file_links book as links %}

{% trans "Get a copy" %}

{% if can_edit_book %}
{% url 'file-link' book.id as fallback_url %}
{% endif %}
{% if links %} {% for link in links.all %} {% join "verify" link.id as verify_modal %} {% include "book/link_verification_modal.html" with id=verify_modal %} {% endfor %} {% endif %} {% if can_edit_book %} {% include 'book/file_link_modal.html' with book=book id="edit-links" %} {% endif %}