From bccf1d78a3c5121b05e00e8643c8d566079f5032 Mon Sep 17 00:00:00 2001 From: Hojagulyyev Date: Mon, 27 Nov 2023 16:40:31 +0500 Subject: [PATCH] config(ui): change level color of accounts progress statistic --- templates/clans/overview.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/templates/clans/overview.html b/templates/clans/overview.html index bd64dd4..1dbc5f0 100644 --- a/templates/clans/overview.html +++ b/templates/clans/overview.html @@ -255,7 +255,10 @@

Overview

container: '#account-{{ account.id }}-commits-percentage-progress', height: 4, gradient: { - colors: ['#40d04f', '#d9ff65'] + colors: [ + "{{ account.level|get_level_color_by_level:0 }}", + "{{ account.level|get_level_color_by_level:1 }}" + ] }, scale: { start: 0,