{% from 'widgets/buttons.html' import link %}
{{ link('logout', 'Quitter', back_url, '', 'Retour au menu') }}

Statistiques d'utilisation

{% if apps|length == 0 %} {% from 'widgets/notification.html' import notif %}
{{ notif('error', 'stats--no-apps', 'Aucune application installée.') }}
{% else %}

{{ nb_launched }} applications sur {{ apps|length }} ont été lancées.

{% set is_stats = true %} {% for app in apps %} {% set app_icon_path = app.icon_path if app.icon_path else app.default_icon_path %} {% endfor %}
Application Nombre d'utilisations
{% include 'app.html' %} {{ app.number_of_launched }}
{% endif %}