mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-10-25 03:57:13 +08:00
Make SHOW_USER_EMAIL also apply to profiles (#2258)
The e-mail address is currently only hidden from the explore page.
This commit is contained in:
@ -22,7 +22,7 @@
|
||||
{{if .Owner.Location}}
|
||||
<li><i class="octicon octicon-location"></i> {{.Owner.Location}}</li>
|
||||
{{end}}
|
||||
{{if or (and $.ShowUserEmail .Owner.Email .IsSigned) (and .Owner.Email .IsSigned (not .Owner.KeepEmailPrivate))}}
|
||||
{{if and $.ShowUserEmail .Owner.Email .IsSigned (not .Owner.KeepEmailPrivate)}}
|
||||
<li>
|
||||
<i class="octicon octicon-mail"></i>
|
||||
<a href="mailto:{{.Owner.Email}}" rel="nofollow">{{.Owner.Email}}</a>
|
||||
|
||||
Reference in New Issue
Block a user