{% extends "layout.html" %} {% block content %}
{{ 'admin/data_integrity_checks'|manual }}
{% if tables.orphans.rows %} {{ tables.orphans.display('orphans')|safe }} {% else %} {{ _('Congratulations, everything looks fine!') }} {% endif %}
{% if tables.unlinked.rows %} {{ tables.unlinked.display('unlinked')|safe }} {% else %} {{ _('Congratulations, everything looks fine!') }} {% endif %}
{% if tables.nodes.rows %} {{ tables.nodes.display('nodes')|safe }} {% else %} {{ _('Congratulations, everything looks fine!') }} {% endif %}
{% if tables.missing_files.rows %} {{ tables.missing_files.display('missing_files')|safe }} {% else %} {{ _('Congratulations, everything looks fine!') }} {% endif %}
{% if tables.orphaned_files.rows and 'admin'|is_authorized %}
{{ _('delete all files')|button(url_for('admin_file_delete', filename='all'), onclick="return confirm('" + _('delete all files without corresponding entities?')|uc_first + "')") }}
{% endif %} {% if tables.orphaned_files.rows %} {{ tables.orphaned_files.display('orphaned_files')|safe }} {% else %} {{ _('Congratulations, everything looks fine!') }} {% endif %}
{% if tables.circular.rows %} {{ tables.circular.display('circular')|safe }} {% else %} {{ _('Congratulations, everything looks fine!') }} {% endif %}
{% endblock %}