{% extends 'settings/layout.html' %} {% load i18n %} {% load utilities %} {% load humanize %} {% block title %}{% trans "Imports" %}{% endblock %} {% block header %} {% trans "Imports" %} {% endblock %} {% block panel %}
{% if site.imports_enabled %}
{% trans "Disable starting new imports" %}
{% trans "This is only intended to be used when things have gone very wrong with imports and you need to pause the feature while addressing issues." %} {% trans "While imports are disabled, users will not be allowed to start new imports, but existing imports will not be affected." %}
{% csrf_token %}
{% else %}
{% trans "Users are currently unable to start new imports" %}
{% csrf_token %}
{% endif %}
{% trans "Limit the amount of imports" %}
{% trans "Some users might try to import a large number of books, which you want to limit." %} {% trans "Set the value to 0 to not enforce any limit." %}
{% csrf_token %}
{% url 'settings-imports' status as url %} {% if status != "active" %} {% endif %} {% if status == "active" %} {% endif %} {% for import in imports %} {% if status != "active" %} {% endif %} {% if status == "active" %} {% endif %} {% endfor %} {% if not imports %} {% endif %}
{% trans "ID" %} {% trans "User" as text %} {% include 'snippets/table-sort-header.html' with field="user" sort=sort text=text %} {% trans "Date Created" as text %} {% include 'snippets/table-sort-header.html' with field="created_date" sort=sort text=text %} {% trans "Date Updated" %} {% trans "Items" %} {% trans "Pending items" %} {% trans "Successful items" %} {% trans "Failed items" %} {% trans "Actions" %}
{{ import.id }} {{ import.user|username }} {{ import.created_date }}{{ import.updated_date }}{{ import.item_count|intcomma }} {{ import.pending_item_count|intcomma }} {{ import.successful_item_count|intcomma }} {{ import.failed_item_count|intcomma }} {% join "complete" import.id as modal_id %} {% include "settings/imports/complete_import_modal.html" with id=modal_id %}
{% trans "No matching imports found." %}
{% include 'snippets/pagination.html' with page=imports path=request.path %} {% endblock %}