Show download count info in release list (#10124)

* Show download count info in release list

* Use go-humanize
This commit is contained in:
Lauris BH authored and GitHub committed 2020-02-03 21:50:37 +02:00
1 parent ea50f60df2
commit 20c513be6e
23 files changed
+1207 -40

No files matched your search

+1
View File
@@ -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,