{% macro render_status_row(title, task) %} {{ title }} {% if not task %} {{ _('Never executed.') }} {% elif task.running %} {{ _('Running since %(since)s', since=format_datetime(task.started)) }} {% else %} {{ _('Finished since %(since)s', since=format_datetime(task.finished)) }} {% endif %} {% endmacro %} {% extends 'base.html' %} {% block header %}

{% block title %}{{ _('Informations') }}{% endblock %}

{% endblock %} {% block content %}
{{ render_status_row(_('Blackhole synchronization'), info.sync_blackhole) }} {{ render_status_row(_('Seedbox synchronization'), info.sync_seedbox) }} {{ render_status_row(_('Heartbeat'), info.heartbeat) }}
{{ _('Number of files downloaded') }} {{ info.stats_total_files }}
{{ _('Total size of files downloaded') }} {{ info.stats_total_size }}
{{ _('Since') }} {% if info.stats_first == None %} {{ _('Never executed.') }} {% else %} {{ format_datetime(info.stats_first) }}
{{ info.stats_first_delta }} {% endif %}
{{ _('SeedboxSync version') }} {{ info.version }}
{{ _('SeedboxSync database version') }} {{ info.seedboxsync_db_version }}
{% endblock %}