summaryrefslogtreecommitdiffstats
path: root/templates/admin/user/list.tmpl
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-12-09 20:03:19 +0100
committerGitHub <noreply@github.com>2020-12-09 14:03:19 -0500
commitc85bb6263503ebd335863f413214a775973a1fac (patch)
tree4264266101a847d0895d6c9ad6442f9cb240b1db /templates/admin/user/list.tmpl
parent6edfa6bc88ed73fc5a31f1b2fe9f5587c932ada7 (diff)
downloadgitea-c85bb6263503ebd335863f413214a775973a1fac.tar.gz
gitea-c85bb6263503ebd335863f413214a775973a1fac.zip
Replace more icons with SVG, repo search tweaks (#13860)
* Replace more icons with SVG - Replace remaining icons on admin page with SVG - Fix vertical menu background on arc-green - Minor improvments to frontpage repo search - More icon replacements here and there * fix integration * whitespace tweak * add comment Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'templates/admin/user/list.tmpl')
-rw-r--r--templates/admin/user/list.tmpl10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/admin/user/list.tmpl b/templates/admin/user/list.tmpl
index dafeadaf96..661d38cb03 100644
--- a/templates/admin/user/list.tmpl
+++ b/templates/admin/user/list.tmpl
@@ -41,10 +41,10 @@
<td>{{.ID}}</td>
<td><a href="{{AppSubUrl}}/{{.Name}}">{{.Name}}</a></td>
<td><span class="text truncate email">{{.Email}}</span></td>
- <td><i class="fa fa{{if .IsActive}}-check{{end}}-square-o"></i></td>
- <td><i class="fa fa{{if .IsAdmin}}-check{{end}}-square-o"></i></td>
- <td><i class="fa fa{{if .IsRestricted}}-check{{end}}-square-o"></i></td>
- <td><i class="fa fa{{if index $.UsersTwoFaStatus .ID}}-check{{end}}-square-o"></i></td>
+ <td>{{if .IsActive}}{{svg "octicon-check"}}{{else}}{{svg "octicon-x"}}{{end}}</td>
+ <td>{{if .IsAdmin}}{{svg "octicon-check"}}{{else}}{{svg "octicon-x"}}{{end}}</td>
+ <td>{{if .IsRestricted}}{{svg "octicon-check"}}{{else}}{{svg "octicon-x"}}{{end}}</td>
+ <td>{{if index $.UsersTwoFaStatus .ID}}{{svg "octicon-check"}}{{else}}{{svg "octicon-x"}}{{end}}</td>
<td>{{.NumRepos}}</td>
<td><span title="{{.CreatedUnix.FormatLong}}">{{.CreatedUnix.FormatShort}}</span></td>
{{if .LastLoginUnix}}
@@ -52,7 +52,7 @@
{{else}}
<td><span>{{$.i18n.Tr "admin.users.never_login"}}</span></td>
{{end}}
- <td><a href="{{$.Link}}/{{.ID}}"><i class="fa fa-pencil-square-o"></i></a></td>
+ <td><a href="{{$.Link}}/{{.ID}}">{{svg "octicon-pencil"}}</a></td>
</tr>
{{end}}
</tbody>