diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-26 07:24:20 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-26 07:24:20 -0400 |
commit | ed9b7d2db9d797105a62a0c2078c614ab90ff956 (patch) | |
tree | 6e87b93b78c34d67a3c67e53221a72321670e6df /modules/base/template.go | |
parent | 78979c6d4c1408910cf12546b26d727752c62250 (diff) | |
download | gitea-ed9b7d2db9d797105a62a0c2078c614ab90ff956.tar.gz gitea-ed9b7d2db9d797105a62a0c2078c614ab90ff956.zip |
More on diff page
Diffstat (limited to 'modules/base/template.go')
-rw-r--r-- | modules/base/template.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/base/template.go b/modules/base/template.go index 8d95dbeab7..e577bd7c35 100644 --- a/modules/base/template.go +++ b/modules/base/template.go @@ -70,4 +70,5 @@ var TemplateFuncs template.FuncMap = map[string]interface{}{ "SubStr": func(str string, start, length int) string { return str[start : start+length] }, + "DiffTypeToStr": DiffTypeToStr, } |