diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2024-03-22 01:04:03 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-21 17:04:03 +0000 |
commit | bfa160fc98a23923b6ce1cd4d99e8970d937d6ec (patch) | |
tree | 41ece2a844523f3033eebb0d74ad2ec7bc341625 /templates/admin/repo | |
parent | d6fed9ab88b13e124c5e59ceac5b21a3af52ad24 (diff) | |
download | gitea-bfa160fc98a23923b6ce1cd4d99e8970d937d6ec.tar.gz gitea-bfa160fc98a23923b6ce1cd4d99e8970d937d6ec.zip |
Refactor repo header/list (#29969)
1. Use general "mobile-only" and "not-mobile" CSS styles, remove some`@media (max-width: 767.98px)` tricks
2. Use `CountFmt` for repo list, just like the repo header (and it matches GitHub, to avoid big numbers bloat the page)
Diffstat (limited to 'templates/admin/repo')
-rw-r--r-- | templates/admin/repo/list.tmpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/admin/repo/list.tmpl b/templates/admin/repo/list.tmpl index e977c8307c..4b27d87a45 100644 --- a/templates/admin/repo/list.tmpl +++ b/templates/admin/repo/list.tmpl @@ -19,13 +19,13 @@ {{ctx.Locale.Tr "admin.repos.name"}} {{SortArrow "alphabetically" "reversealphabetically" $.SortType false}} </th> - <th>{{ctx.Locale.Tr "admin.repos.watches"}}</th> + <th>{{ctx.Locale.Tr "repo.watchers"}}</th> <th data-sortt-asc="moststars" data-sortt-desc="feweststars"> - {{ctx.Locale.Tr "admin.repos.stars"}} + {{ctx.Locale.Tr "repo.stars"}} {{SortArrow "moststars" "feweststars" $.SortType false}} </th> <th data-sortt-asc="mostforks" data-sortt-desc="fewestforks"> - {{ctx.Locale.Tr "admin.repos.forks"}} + {{ctx.Locale.Tr "repo.forks"}} {{SortArrow "mostforks" "fewestforks" $.SortType false}} </th> <th>{{ctx.Locale.Tr "admin.repos.issues"}}</th> |