summaryrefslogtreecommitdiffstats
path: root/modules/templates
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2018-11-27 11:36:54 +0200
committerJonas Franz <info@jonasfranz.software>2018-11-27 10:36:54 +0100
commite09fe487734238708c2f9fc7c47dbb2132250400 (patch)
treebd302a98f3badfe9e2b74283e2d068bfd92bb5f8 /modules/templates
parentc03a9b3e422ded9d8200a83b94ab56ddb4740d94 (diff)
downloadgitea-e09fe487734238708c2f9fc7c47dbb2132250400.tar.gz
gitea-e09fe487734238708c2f9fc7c47dbb2132250400.zip
Refactor heatmap to vue component (#5401)
Diffstat (limited to 'modules/templates')
-rw-r--r--modules/templates/helper.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/templates/helper.go b/modules/templates/helper.go
index 16627549e7..ce077d1a92 100644
--- a/modules/templates/helper.go
+++ b/modules/templates/helper.go
@@ -193,9 +193,6 @@ func NewFuncMap() []template.FuncMap {
"DefaultTheme": func() string {
return setting.UI.DefaultTheme
},
- "HeatmapColorRange": func() string {
- return setting.UI.HeatmapColorRange
- },
"dict": func(values ...interface{}) (map[string]interface{}, error) {
if len(values) == 0 {
return nil, errors.New("invalid dict call")