summaryrefslogtreecommitdiffstats
path: root/modules/template
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-08-30 05:07:50 -0700
committerUnknwon <u@gogs.io>2016-08-30 05:23:59 -0700
commit643142acab44d46aa6c001c90ad5d307a8662b99 (patch)
tree8e26f8959af5175e865d71a35df5dc087ff14dc8 /modules/template
parent7c31f235da287b0ba1499986758332c2c346deb0 (diff)
downloadgitea-643142acab44d46aa6c001c90ad5d307a8662b99.tar.gz
gitea-643142acab44d46aa6c001c90ad5d307a8662b99.zip
Web editor: support upload files
Diffstat (limited to 'modules/template')
-rw-r--r--modules/template/template.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/template/template.go b/modules/template/template.go
index 433c412787..707697df34 100644
--- a/modules/template/template.go
+++ b/modules/template/template.go
@@ -86,6 +86,7 @@ func NewFuncMap() []template.FuncMap {
}
return str[start:end]
},
+ "EllipsisString": base.EllipsisString,
"DiffTypeToStr": DiffTypeToStr,
"DiffLineTypeToStr": DiffLineTypeToStr,
"Sha1": Sha1,