forked from mirrors/bookwyrm
30 lines
874 B
HTML
30 lines
874 B
HTML
{% extends 'components/modal.html' %}
|
|
{% load i18n %}
|
|
|
|
{% block modal-title %}
|
|
{% trans "Load data" %}
|
|
{% endblock %}
|
|
|
|
{% block modal-form-open %}
|
|
<form name="{{ source }}-update" method="POST" action="{% url 'author-update-remote' author.id source %}">
|
|
{% csrf_token %}
|
|
{% endblock %}
|
|
|
|
{% block modal-body %}
|
|
<p>
|
|
{% blocktrans trimmed %}
|
|
Loading data will connect to <strong>{{ source_name }}</strong> and check for any metadata about this author which aren't present here. Existing metadata will not be overwritten.
|
|
{% endblocktrans %}
|
|
</p>
|
|
{% endblock %}
|
|
|
|
{% block modal-footer %}
|
|
<button class="button is-primary" type="submit">
|
|
<span>{% trans "Confirm" %}</span>
|
|
</button>
|
|
|
|
{% trans "Cancel" as button_text %}
|
|
{% include 'snippets/toggle/toggle_button.html' with text=button_text %}
|
|
{% endblock %}
|
|
|
|
{% block modal-form-close %}</form>{% endblock %}
|