diff options
author | silverwind <me@silverwind.io> | 2020-12-09 20:03:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-09 14:03:19 -0500 |
commit | c85bb6263503ebd335863f413214a775973a1fac (patch) | |
tree | 4264266101a847d0895d6c9ad6442f9cb240b1db /templates/admin/user/list.tmpl | |
parent | 6edfa6bc88ed73fc5a31f1b2fe9f5587c932ada7 (diff) | |
download | gitea-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.tmpl | 10 |
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> |