summaryrefslogtreecommitdiffstats
path: root/modules/templates
diff options
context:
space:
mode:
authortechknowlogick <techknowlogick@users.noreply.github.com>2018-08-29 09:43:58 -0400
committerGitHub <noreply@github.com>2018-08-29 09:43:58 -0400
commit080428b2bfd6721a40ec6a6bb858cc2d7ad6c583 (patch)
treebe76c60090931edd97f6091546e5e0e8be364b37 /modules/templates
parent179123de350fafeb5f4fada858b4dd3767b6db2f (diff)
downloadgitea-080428b2bfd6721a40ec6a6bb858cc2d7ad6c583.tar.gz
gitea-080428b2bfd6721a40ec6a6bb858cc2d7ad6c583.zip
Upgrade images in .drone.yml to more recent versions (#4819)
Diffstat (limited to 'modules/templates')
-rw-r--r--modules/templates/helper.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/templates/helper.go b/modules/templates/helper.go
index 7ee68c833e..c46a293be8 100644
--- a/modules/templates/helper.go
+++ b/modules/templates/helper.go
@@ -103,12 +103,12 @@ func NewFuncMap() []template.FuncMap {
}
return str[start:end]
},
- "EllipsisString": base.EllipsisString,
- "DiffTypeToStr": DiffTypeToStr,
- "DiffLineTypeToStr": DiffLineTypeToStr,
- "Sha1": Sha1,
- "ShortSha": base.ShortSha,
- "MD5": base.EncodeMD5,
+ "EllipsisString": base.EllipsisString,
+ "DiffTypeToStr": DiffTypeToStr,
+ "DiffLineTypeToStr": DiffLineTypeToStr,
+ "Sha1": Sha1,
+ "ShortSha": base.ShortSha,
+ "MD5": base.EncodeMD5,
"ActionContent2Commits": ActionContent2Commits,
"PathEscape": url.PathEscape,
"EscapePound": func(str string) string {