summaryrefslogtreecommitdiffstats
path: root/modules/templates/helper.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/templates/helper.go')
-rw-r--r--modules/templates/helper.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/templates/helper.go b/modules/templates/helper.go
index 1e5fa01089..741161eb8b 100644
--- a/modules/templates/helper.go
+++ b/modules/templates/helper.go
@@ -93,6 +93,7 @@ func NewFuncMap() []template.FuncMap {
"TimeSinceUnix": timeutil.TimeSinceUnix,
"RawTimeSince": timeutil.RawTimeSince,
"FileSize": base.FileSize,
+ "PrettyNumber": base.PrettyNumber,
"Subtract": base.Subtract,
"EntryIcon": base.EntryIcon,
"MigrationIcon": MigrationIcon,