summaryrefslogtreecommitdiffstats
path: root/templates/user/profile.tmpl
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-07-31 13:53:14 +0800
committerUnknwon <u@gogs.io>2015-07-31 13:53:14 +0800
commiteea9302d8f67cdef613df24e2b09a58b898b9037 (patch)
treefa587e6c2c69c797b0739ae5dc43f0182c0025eb /templates/user/profile.tmpl
parentb983912fce5b58568c957f0fab46b9b86b54275e (diff)
downloadgitea-eea9302d8f67cdef613df24e2b09a58b898b9037.tar.gz
gitea-eea9302d8f67cdef613df24e2b09a58b898b9037.zip
fix #1204
Diffstat (limited to 'templates/user/profile.tmpl')
-rw-r--r--templates/user/profile.tmpl2
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>&nbsp;&nbsp;{{.Owner.Location}}</li>
{{end}}
- {{if .Owner.Email}}
+ {{if and .Owner.Email .IsSigned}}
<li class="list-group-item"><i class="octicon octicon-mail"></i>&nbsp;&nbsp;<a href="mailto:{{.Owner.Email}}" rel="nofollow">{{.Owner.Email}}</a></li>
{{end}}
{{if .Owner.Website}}