diff options
author | Unknwon <u@gogs.io> | 2016-08-30 05:07:50 -0700 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-08-30 05:23:59 -0700 |
commit | 643142acab44d46aa6c001c90ad5d307a8662b99 (patch) | |
tree | 8e26f8959af5175e865d71a35df5dc087ff14dc8 /modules/template | |
parent | 7c31f235da287b0ba1499986758332c2c346deb0 (diff) | |
download | gitea-643142acab44d46aa6c001c90ad5d307a8662b99.tar.gz gitea-643142acab44d46aa6c001c90ad5d307a8662b99.zip |
Web editor: support upload files
Diffstat (limited to 'modules/template')
-rw-r--r-- | modules/template/template.go | 1 |
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, |