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 | |
parent | 05dbd3f7d78162bf06785faf0ea862fa2dc4f012 (diff) |
repo: able to view size (#1158)
Diffstat (limited to 'templates')
-rw-r--r-- | templates/.VERSION | 2 | ||||
-rw-r--r-- | templates/admin/repo/list.tmpl | 2 |
2 files changed, 3 insertions, 1 deletions
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 @@ <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> |