Skip to content

Commit

Permalink
config(ui): change level color of accounts progress statistic
Browse files Browse the repository at this point in the history
  • Loading branch information
Hojagulyyev committed Nov 27, 2023
1 parent 1b24d02 commit bccf1d7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion templates/clans/overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,10 @@ <h2 class="section-title">Overview</h2>
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,
Expand Down

0 comments on commit bccf1d7

Please sign in to comment.