summaryrefslogtreecommitdiffstats
path: root/templates/admin
diff options
context:
space:
mode:
authorCirno the Strongest <1447794+CirnoT@users.noreply.github.com>2021-01-04 13:18:12 +0100
committerGitHub <noreply@github.com>2021-01-04 13:18:12 +0100
commit21fbee150315f3d07032e89b449674547b6682a3 (patch)
tree04ff1317bad0dba31bd99ae4cff1532289b6306e /templates/admin
parent4092c044e0ccd0f3b6c9224c34fb7d1265851f4b (diff)
downloadgitea-21fbee150315f3d07032e89b449674547b6682a3.tar.gz
gitea-21fbee150315f3d07032e89b449674547b6682a3.zip
Various UI fixes (#14239)
* Fix #14238 * Fix #14235 * Fix #14237 * Fix #14234 * Use octicon to show private status of repo in admin dashboard * Fix #14232 * Fix #14236
Diffstat (limited to 'templates/admin')
-rw-r--r--templates/admin/repo/list.tmpl9
1 files changed, 6 insertions, 3 deletions
diff --git a/templates/admin/repo/list.tmpl b/templates/admin/repo/list.tmpl
index 5f8db35853..17a6871b3a 100644
--- a/templates/admin/repo/list.tmpl
+++ b/templates/admin/repo/list.tmpl
@@ -22,7 +22,6 @@
{{.i18n.Tr "admin.repos.name"}}
{{SortArrow "alphabetically" "reversealphabetically" $.SortType false}}
</th>
- <th>{{.i18n.Tr "admin.repos.private"}}</th>
<th>{{.i18n.Tr "admin.repos.watches"}}</th>
<th data-sortt-asc="moststars" data-sortt-desc="feweststars">
{{.i18n.Tr "admin.repos.stars"}}
@@ -51,8 +50,12 @@
<span class="text gold">{{svg "octicon-lock"}}</span>
{{end}}
</td>
- <td><a href="{{AppSubUrl}}/{{.Owner.Name}}/{{.Name}}">{{.Name}}</a></td>
- <td>{{if .IsPrivate}}{{svg "octicon-check"}}{{else}}{{svg "octicon-x"}}{{end}}</td>
+ <td>
+ <a href="{{AppSubUrl}}/{{.Owner.Name}}/{{.Name}}">{{.Name}}</a>
+ {{if .IsPrivate}}
+ <span class="text gold">{{svg "octicon-lock"}}</span>
+ {{end}}
+ </td>
<td>{{.NumWatches}}</td>
<td>{{.NumStars}}</td>
<td>{{.NumForks}}</td>