{% extends 'layout.html' %} {% from 'include/empty.html' import empty %} {% set active_page='repo' %} {% block title %}{% trans %}Repositories{% endtrans %}{% endblock %} {% block body %} {% macro repo_list_item(repo)%} {% set name = repo.display_name.split('/')[-1] %} {{ name }}{% if name|length==1 %}:\{% endif %} {% if repo.status[0] != 'ok' %} {% endif %} {% if repo.last_backup_date %} {% trans %}Updated {% endtrans %} {% endif %} {% endmacro %} {# Repo Tree #} {% macro repo_tree(repos) -%} {% if repos|length == 0 %} {% call empty('icon-box', 'No repositories') %}
{% trans %}You don't have any repositories in your user directory. You may need to refresh the page if you just made a new backup.{% endtrans %}
{% endcall %} {% else %}