mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-09 16:55:16 +00:00
parent
b906008ff1
commit
02bb52617d
|
@ -30,7 +30,7 @@
|
|||
{{if .EnableOSMButton}}
|
||||
<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"}}">
|
||||
{{svg "octicon-link-external" 18 "gt-mr-2"}}
|
||||
{{svg "octicon-link-external"}}
|
||||
</i>
|
||||
</a>
|
||||
{{end}}
|
||||
|
@ -38,16 +38,16 @@
|
|||
{{end}}
|
||||
{{if (eq .SignedUserID .ContextUser.ID)}}
|
||||
<li>
|
||||
{{svg "octicon-mail" 18 "gt-mr-2"}}
|
||||
{{svg "octicon-mail"}}
|
||||
<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" 18 "gt-mr-2"}}
|
||||
{{svg "octicon-unlock"}}
|
||||
</i>
|
||||
{{else}}
|
||||
<i class="ui right" data-tooltip-content="{{.locale.Tr "user.email_visibility.private"}}">
|
||||
{{svg "octicon-lock" 18 "gt-mr-2"}}
|
||||
{{svg "octicon-lock"}}
|
||||
</i>
|
||||
{{end}}
|
||||
</a>
|
||||
|
@ -55,7 +55,7 @@
|
|||
{{else}}
|
||||
{{if .ShowUserEmail}}
|
||||
<li>
|
||||
{{svg "octicon-mail" 18 "gt-mr-2"}}
|
||||
{{svg "octicon-mail"}}
|
||||
<a href="mailto:{{.ContextUser.Email}}" rel="nofollow">{{.ContextUser.Email}}</a>
|
||||
</li>
|
||||
{{end}}
|
||||
|
|
Loading…
Reference in a new issue