From 801d287c0c3d02a632a9b9694fd66672c5bacd81 Mon Sep 17 00:00:00 2001 From: klmp200 Date: Wed, 7 Jun 2017 15:23:32 +0200 Subject: [PATCH] Random colors for stats graphs --- .../templates/subscription/stats.jinja | 62 +++++++++++++------ 1 file changed, 44 insertions(+), 18 deletions(-) diff --git a/subscription/templates/subscription/stats.jinja b/subscription/templates/subscription/stats.jinja index b07f0dba..5db061a3 100644 --- a/subscription/templates/subscription/stats.jinja +++ b/subscription/templates/subscription/stats.jinja @@ -37,7 +37,7 @@ {% for location in locations %} {{ location[1] }} {% endfor %} - {% trans %}Total{% endtrans %} + {% trans %}Total{% endtrans %} {% for type in subscriptions_types %} {{ subscriptions_types[type]['name'] }} @@ -61,38 +61,64 @@ {% block script %} {{ super() }}