{% extends 'layout.html' %} {% set breadcrumbs = breadcrumb_page('admin') + breadcrumb_page(self) %} {% macro btn(url, label, icon) %} {% endmacro %} {% block content %} {% set buttons = [ {'text': _('All'), 'extend': 'reset'}, {'text': _('Healthy'), 'extend': 'filter', 'column': 2, 'search': 'ok'}, {'text': _('Failed'), 'extend': 'filter', 'column': 2, 'search': 'failed'}, {'text': _('Interrupted'), 'extend': 'filter', 'column': 2, 'search': 'interrupted'}, {'text': _('In progress'), 'extend': 'filter', 'column': 2, 'search': 'in_progress'}, ] %} {% trans %}Display Name{% endtrans %} {% trans %}Owner{% endtrans %} {% trans %}Status{% endtrans %} {% trans %}Inactivity Period{% endtrans %} {% trans %}Retention Duration{% endtrans %} {% trans %}Errors were detected in the last backup{% endtrans %} {% trans %}Description{% endtrans %} {% for repo in repos %} {{ repo.display_name }} {{ repo.owner }} {% if repo.last_backup_date %} {% trans %}Updated {% endtrans %} {% endif %} {% if repo.status[0] != 'ok' %} {{ repo.status[1] }} {% endif %} {% if repo.maxage %} {% trans num=repo.maxage %}{{ num }} days{% endtrans %} {% else %} {% trans %}Disabled{% endtrans %} {% endif %} {% if repo.keepdays>=1 %} {% trans num=repo.keepdays %}{{ num }} days{% endtrans %} {% else %} {% trans %}Forever{% endtrans %} {% endif %} {% if repo.error_log %}{{ _("No") if repo.error_log[-1].is_empty else _('Yes') }}{% endif %} {{ repo.notes }}
{% for page in page_registry.get_repo_nav_pages() %}{{ btn(url_for(page, repo) , page.label, page.icon) }}{% endfor %}
{% endfor %}
{% endblock %}