فهرست منبع

Implemented Login to view email and Resolves #44

Yoginth 7 سال پیش
والد
کامیت
2f41246f9b
1فایلهای تغییر یافته به همراه5 افزوده شده و 0 حذف شده
  1. 5 0
      templates/user/profile.tmpl

+ 5 - 0
templates/user/profile.tmpl

@@ -132,6 +132,11 @@
 									<i class="menu-icon octicon">📧</i>
 									<a class="truncate" href="mailto:{{.Owner.Email}}" rel="nofollow">{{.Owner.Email}}</a>
 								</li>
+							{{else}}
+								<li>
+									<i class="menu-icon octicon">📧</i>
+									<a class="truncate" href="{{AppURL}}user/login" rel="nofollow">Login to view email</a>
+								</li>
 							{{end}}
 							{{if .Owner.Website}}
 								<li>