diff options
author | Unknwon <u@gogs.io> | 2015-07-31 13:53:14 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-07-31 13:53:14 +0800 |
commit | eea9302d8f67cdef613df24e2b09a58b898b9037 (patch) | |
tree | fa587e6c2c69c797b0739ae5dc43f0182c0025eb /templates/user/profile.tmpl | |
parent | b983912fce5b58568c957f0fab46b9b86b54275e (diff) | |
download | gitea-eea9302d8f67cdef613df24e2b09a58b898b9037.tar.gz gitea-eea9302d8f67cdef613df24e2b09a58b898b9037.zip |
fix #1204
Diffstat (limited to 'templates/user/profile.tmpl')
-rw-r--r-- | templates/user/profile.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl index dab90c35a2..c8b7c591b8 100644 --- a/templates/user/profile.tmpl +++ b/templates/user/profile.tmpl @@ -22,7 +22,7 @@ {{if .Owner.Location}} <li class="list-group-item"><i class="octicon octicon-location"></i> {{.Owner.Location}}</li> {{end}} - {{if .Owner.Email}} + {{if and .Owner.Email .IsSigned}} <li class="list-group-item"><i class="octicon octicon-mail"></i> <a href="mailto:{{.Owner.Email}}" rel="nofollow">{{.Owner.Email}}</a></li> {{end}} {{if .Owner.Website}} |