Skip to content

Commit

Permalink
Merge pull request #73 from Hojagulyyev/dev
Browse files Browse the repository at this point in the history
config(ui): change level color of accounts progress statistic
  • Loading branch information
Hojagulyyev authored Nov 27, 2023
2 parents 1b24d02 + bccf1d7 commit 0c33a63
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 0c33a63

Please sign in to comment.