|
|
@ -48,16 +48,8 @@
|
|
|
|
<li>
|
|
|
|
<li>
|
|
|
|
{{svg "octicon-mail"}}
|
|
|
|
{{svg "octicon-mail"}}
|
|
|
|
<a class="tw-flex-1" href="mailto:{{.ContextUser.Email}}" rel="nofollow">{{.ContextUser.Email}}</a>
|
|
|
|
<a class="tw-flex-1" href="mailto:{{.ContextUser.Email}}" rel="nofollow">{{.ContextUser.Email}}</a>
|
|
|
|
<a href="{{AppSubUrl}}/user/settings#privacy-user-settings">
|
|
|
|
<a class="flex-text-inline" href="{{AppSubUrl}}/user/settings#privacy-user-settings" data-tooltip-content="{{ctx.Locale.Tr (Iif .ShowUserEmail "user.email_visibility.limited" "user.email_visibility.private")}}">
|
|
|
|
{{if .ShowUserEmail}}
|
|
|
|
{{svg (Iif .ShowUserEmail "octicon-unlock" "octicon-lock")}}
|
|
|
|
<i data-tooltip-content="{{ctx.Locale.Tr "user.email_visibility.limited"}}">
|
|
|
|
|
|
|
|
{{svg "octicon-unlock"}}
|
|
|
|
|
|
|
|
</i>
|
|
|
|
|
|
|
|
{{else}}
|
|
|
|
|
|
|
|
<i data-tooltip-content="{{ctx.Locale.Tr "user.email_visibility.private"}}">
|
|
|
|
|
|
|
|
{{svg "octicon-lock"}}
|
|
|
|
|
|
|
|
</i>
|
|
|
|
|
|
|
|
{{end}}
|
|
|
|
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
{{else}}
|
|
|
|
{{else}}
|
|
|
|