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

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

This reverts commit c2c60a01eb.
This commit is contained in:
Panagiotis "Ivory" Vasilopoulos 2023-07-20 20:53:11 +02:00
parent b906008ff1
commit 02bb52617d

View file

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