Forráskód Böngészése

[GINR] Hide user mail

cgars 8 éve
szülő
commit
2f84d7b423
2 módosított fájl, 0 hozzáadás és 10 törlés
  1. 0 4
      templates/explore/users.tmpl
  2. 0 6
      templates/user/profile.tmpl

+ 0 - 4
templates/explore/users.tmpl

@@ -16,10 +16,6 @@
 									{{if .Location}}
 										<i class="octicon octicon-location"></i> {{.Location}}
 									{{end}}
-									{{if and .Email $.IsLogged}}
-										<i class="octicon octicon-mail"></i>
-										<a href="mailto:{{.Email}}" rel="nofollow">{{.Email}}</a>
-									{{end}}
 									<i class="octicon octicon-clock"></i> {{$.i18n.Tr "user.join_on"}} {{DateFmtShort .Created}}
 						    </div>
 						  </div>

+ 0 - 6
templates/user/profile.tmpl

@@ -22,12 +22,6 @@
 							{{if .Owner.Location}}
 								<li><i class="octicon octicon-location"></i> {{.Owner.Location}}</li>
 							{{end}}
-							{{if and .Owner.Email .IsLogged}}
-								<li>
-									<i class="octicon octicon-mail"></i>
-									<a href="mailto:{{.Owner.Email}}" rel="nofollow">{{.Owner.Email}}</a>
-								</li>
-							{{end}}
 							{{if .Owner.Website}}
 								<li>
 									<i class="octicon octicon-link"></i>