summaryrefslogtreecommitdiffstats
path: root/templates/org
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/org
parentb983912fce5b58568c957f0fab46b9b86b54275e (diff)
downloadgitea-eea9302d8f67cdef613df24e2b09a58b898b9037.tar.gz
gitea-eea9302d8f67cdef613df24e2b09a58b898b9037.zip
fix #1204
Diffstat (limited to 'templates/org')
-rw-r--r--templates/org/home.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/org/home.tmpl b/templates/org/home.tmpl
index fdce06a298..4301063627 100644
--- a/templates/org/home.tmpl
+++ b/templates/org/home.tmpl
@@ -12,7 +12,7 @@
<ul class="text-grey">
{{if .Org.Location}}<li><span class="octicon octicon-location"></span> <span>{{.Org.Location}}</span></li>{{end}}
{{if .Org.Website}}<li><span class="octicon octicon-link"></span> <a target="_blank" href="{{.Org.Website}}">{{.Org.Website}}</a></li>{{end}}
- {{if .Org.Email}}<li><span class="octicon octicon-mail"></span> <a href="mailto:{{.Org.Email}}">{{.Org.Email}}</a></li>{{end}}
+ {{if and .Org.Email .IsSigned}}<li><span class="octicon octicon-mail"></span> <a href="mailto:{{.Org.Email}}">{{.Org.Email}}</a></li>{{end}}
</ul>
</div>
</div>