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/emails | |
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/emails')
-rw-r--r-- | templates/admin/emails/list.tmpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/admin/emails/list.tmpl b/templates/admin/emails/list.tmpl index 752c010443..87421d2589 100644 --- a/templates/admin/emails/list.tmpl +++ b/templates/admin/emails/list.tmpl @@ -52,17 +52,17 @@ <td><a href="{{AppSubUrl}}/{{.Name}}">{{.Name}}</a></td> <td><span class="text truncate">{{.FullName}}</span></td> <td><span class="text email">{{.Email}}</span></td> - <td><i class="fa fa{{if .IsPrimary}}-check{{end}}-square-o"></i></td> + <td>{{if .IsPrimary}}{{svg "octicon-check"}}{{else}}{{svg "octicon-x"}}{{end}}</td>< <td> {{if .CanChange}} <a class="link-email-action" href data-uid="{{.UID}}" data-email="{{.Email}}" data-primary="{{if .IsPrimary}}1{{else}}0{{end}}" data-activate="{{if .IsActivated}}0{{else}}1{{end}}"> - <i class="fa fa{{if .IsActivated}}-check{{end}}-square-o"></i> + {{if .IsActivated}}{{svg "octicon-check"}}{{else}}{{svg "octicon-x"}}{{end}} </a> {{else}} - <i class="fa fa{{if .IsActivated}}-check{{end}}-square-o"></i> + {{if .IsActivated}}{{svg "octicon-check"}}{{else}}{{svg "octicon-x"}}{{end}} {{end}} </td> </tr> |