Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-22 01:44:24 +01:00

16, "gt-mr-2" in *all* icons

This commit is contained in:
Panagiotis "Ivory" Vasilopoulos 2023-07-20 16:55:46 +02:00
parent 852317b467
commit c2c60a01eb

View file

@ -29,23 +29,23 @@
{{.ContextUser.Location}}
<a href="https://www.openstreetmap.org/search?query={{.ContextUser.Location | Safe}}" rel="nofollow noreferrer">
<i class="ui right">
{{svg "octicon-link-external"}}
{{svg "octicon-link-external" 18 "gt-mr-2"}}
</i>
</a>
</li>
{{end}}
{{if (eq .SignedUserID .ContextUser.ID)}}
<li>
{{svg "octicon-mail"}}
{{svg "octicon-mail" 18 "gt-mr-2"}}
<a href="mailto:{{.ContextUser.Email}}" rel="nofollow">{{.ContextUser.Email}}</a>
<a href="{{AppSubUrl}}/user/settings#keep-email-private">
{{if .ShowUserEmail}}
<i class="ui right" data-tooltip-content="{{.locale.Tr "user.email_visibility.limited"}}">
{{svg "octicon-unlock"}}
{{svg "octicon-unlock" 18 "gt-mr-2"}}
</i>
{{else}}
<i class="ui right" data-tooltip-content="{{.locale.Tr "user.email_visibility.private"}}">
{{svg "octicon-lock"}}
{{svg "octicon-lock" 18 "gt-mr-2"}}
</i>
{{end}}
</a>
@ -53,7 +53,7 @@
{{else}}
{{if .ShowUserEmail}}
<li>
{{svg "octicon-mail"}}
{{svg "octicon-mail" 18 "gt-mr-2"}}
<a href="mailto:{{.ContextUser.Email}}" rel="nofollow">{{.ContextUser.Email}}</a>
</li>
{{end}}