diff --git a/rdiffweb/templates/status.html b/rdiffweb/templates/status.html index f44cfa3b..bf3f3549 100644 --- a/rdiffweb/templates/status.html +++ b/rdiffweb/templates/status.html @@ -1,5 +1,5 @@ {% extends 'layout.html' %} -{% from 'include/chartkick.html' import line_chart %} +{% import 'include/chartkick.html' as chartkick with context %} {% set active_page='status' %} {% block title %} {% trans %}Status{% endtrans %} @@ -9,7 +9,7 @@ {% include 'message.html' %}

{% trans %}Backup Status{% endtrans %}

{% trans %}Number of backup per days{% endtrans %}

- {{ line_chart(backup_count) }} + {{ chartkick.line_chart(backup_count) }} {% for date, items in data.items()|sort(attribute='0',reverse=1) %}

{% trans %}Backup for{% endtrans %} ({{ items|length }})