mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-03 00:02:43 +02: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:
1 parent
7907786040
commit
934dd41fa6
3 files changed
+73
-1
No files matched your search
@@ -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