diff options
author | Unknwon <u@gogs.io> | 2017-03-12 01:59:48 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-03-12 01:59:48 -0500 |
commit | bb19bb601e25201982b6b8d205d1a2d237ff22ad (patch) | |
tree | 35773ef2bdce0fbfc4189391c869a173c8dd3757 /templates/admin | |
parent | 05dbd3f7d78162bf06785faf0ea862fa2dc4f012 (diff) |
repo: able to view size (#1158)
Diffstat (limited to 'templates/admin')
-rw-r--r-- | templates/admin/repo/list.tmpl | 2 |
1 files changed, 2 insertions, 0 deletions
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 @@ <th>{{.i18n.Tr "admin.repos.watches"}}</th> <th>{{.i18n.Tr "admin.repos.stars"}}</th> <th>{{.i18n.Tr "admin.repos.issues"}}</th> + <th>{{.i18n.Tr "admin.repos.size"}}</th> <th>{{.i18n.Tr "admin.users.created"}}</th> <th>{{.i18n.Tr "admin.notices.op"}}</th> </tr> @@ -36,6 +37,7 @@ <td>{{.NumWatches}}</td> <td>{{.NumStars}}</td> <td>{{.NumIssues}}</td> + <td>{{.Size | FileSize}}</td> <td><span title="{{DateFmtLong .Created}}">{{DateFmtShort .Created}}</span></td> <td><a class="delete-button" href="" data-url="{{$.Link}}/delete?page={{$.Page.Current}}" data-id="{{.ID}}"><i class="trash icon text red"></i></a></td> </tr> |