Skip to content

Commit

Permalink
Merge branch 'patrik-fix-status-graph' into 'master'
Browse files Browse the repository at this point in the history
Fix loading of status graph

See merge request ikus-soft/rdiffweb!288
  • Loading branch information
ikus060 committed Dec 21, 2022
2 parents 4e4b4cd + 26149ba commit b0c1422
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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 %}
Expand All @@ -9,7 +9,7 @@
{% include 'message.html' %}
<h2>{% trans %}Backup Status{% endtrans %}</h2>
<p>{% trans %}Number of backup per days{% endtrans %}</p>
{{ line_chart(backup_count) }}
{{ chartkick.line_chart(backup_count) }}
{% for date, items in data.items()|sort(attribute='0',reverse=1) %}
<h3>
{% trans %}Backup for{% endtrans %} <time class="js-date" datetime="{{ date }}">{{ date }}</time> ({{ items|length }})
Expand Down

0 comments on commit b0c1422

Please sign in to comment.