diff options
author | Yarden Shoham <git@yardenshoham.com> | 2023-04-29 21:40:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-29 20:40:10 +0200 |
commit | 94d6b5b09d49b2622c2164a03cfae45dced96c74 (patch) | |
tree | 4b3eab42e4a576763a1c77cdc0bdc36bef6e1107 | |
parent | f766b002938b5c81e343c81fda3c0669fa09809f (diff) | |
download | gitea-94d6b5b09d49b2622c2164a03cfae45dced96c74.tar.gz gitea-94d6b5b09d49b2622c2164a03cfae45dced96c74.zip |
Add "Updated" column for admin repositories list (#24429)
- Closes #12454
# Before

# After

Signed-off-by: Yarden Shoham <git@yardenshoham.com>
-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 515ec78a34..f485784d0c 100644 --- a/templates/admin/repo/list.tmpl +++ b/templates/admin/repo/list.tmpl @@ -33,6 +33,7 @@ {{.locale.Tr "admin.repos.size"}} {{SortArrow "size" "reversesize" $.SortType false}} </th> + <th>{{.locale.Tr "admin.auths.updated"}}</th> <th>{{.locale.Tr "admin.users.created"}}</th> <th>{{.locale.Tr "admin.notices.op"}}</th> </tr> @@ -80,6 +81,7 @@ <td>{{.NumForks}}</td> <td>{{.NumIssues}}</td> <td>{{FileSize .Size}}</td> + <td>{{DateTime "short" .UpdatedUnix}}</td> <td>{{DateTime "short" .CreatedUnix}}</td> <td><a class="delete-button" href="" data-url="{{$.Link}}/delete?page={{$.Page.Paginater.Current}}&sort={{$.SortType}}" data-id="{{.ID}}" data-name="{{.Name}}">{{svg "octicon-trash"}}</a></td> </tr> |