From bb19bb601e25201982b6b8d205d1a2d237ff22ad Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sun, 12 Mar 2017 01:59:48 -0500 Subject: repo: able to view size (#1158) --- templates/.VERSION | 2 +- templates/admin/repo/list.tmpl | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/.VERSION b/templates/.VERSION index 15501c90..882ee5eb 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.10.15.0311 \ No newline at end of file +0.10.16.0312 \ No newline at end of file diff --git a/templates/admin/repo/list.tmpl b/templates/admin/repo/list.tmpl index 4b1d98b9..28da8ec3 100644 --- a/templates/admin/repo/list.tmpl +++ b/templates/admin/repo/list.tmpl @@ -22,6 +22,7 @@ {{.i18n.Tr "admin.repos.watches"}} {{.i18n.Tr "admin.repos.stars"}} {{.i18n.Tr "admin.repos.issues"}} + {{.i18n.Tr "admin.repos.size"}} {{.i18n.Tr "admin.users.created"}} {{.i18n.Tr "admin.notices.op"}} @@ -36,6 +37,7 @@ {{.NumWatches}} {{.NumStars}} {{.NumIssues}} + {{.Size | FileSize}} {{DateFmtShort .Created}} -- cgit v1.2.3