File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change 4848 <li>
4949 {{svg "octicon-mail"}}
5050 <a class="tw-flex-1" href="mailto:{{.ContextUser.Email}}" rel="nofollow">{{.ContextUser.Email}}</a>
51- <a href="{{AppSubUrl}}/user/settings#privacy-user-settings">
52- {{if .ShowUserEmail}}
53- <i data-tooltip-content="{{ctx.Locale.Tr "user.email_visibility.limited"}}">
54- {{svg "octicon-unlock"}}
55- </i>
56- {{else}}
57- <i data-tooltip-content="{{ctx.Locale.Tr "user.email_visibility.private"}}">
58- {{svg "octicon-lock"}}
59- </i>
60- {{end}}
51+ <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")}}">
52+ {{svg (Iif .ShowUserEmail "octicon-unlock" "octicon-lock")}}
6153 </a>
6254 </li>
6355 {{else}}
You can’t perform that action at this time.
0 commit comments