aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorAntoine GIRARD <sapk@users.noreply.github.com>2018-10-24 16:38:04 +0200
committerJonas Franz <info@jonasfranz.software>2018-10-24 16:38:04 +0200
commitffd5fb813914130d55e52b1a8cbeae5f62cbe782 (patch)
tree9f88379714e1e2a20d4b4a9cb82ea0fe8fba379c /templates
parent7e5eec430d87b9c97c32531ec15c355b54bbc26d (diff)
downloadgitea-ffd5fb813914130d55e52b1a8cbeae5f62cbe782.tar.gz
gitea-ffd5fb813914130d55e52b1a8cbeae5f62cbe782.zip
Set heatmap color range configurable (#5165)
Diffstat (limited to 'templates')
-rw-r--r--templates/base/footer.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/base/footer.tmpl b/templates/base/footer.tmpl
index 1734d32600..320b4fa1db 100644
--- a/templates/base/footer.tmpl
+++ b/templates/base/footer.tmpl
@@ -65,7 +65,7 @@
var heatmap = calendarHeatmap()
.data(chartData)
.selector('#user-heatmap')
- .colorRange(['#f4f4f4', '#459928'])
+ .colorRange({{SafeJS HeatmapColorRange}})
.tooltipEnabled(true);
heatmap();
});