From dccfadf7b80b0b59e28dd64f71560a3dd82a424c Mon Sep 17 00:00:00 2001 From: Unknwon Date: Thu, 14 Jan 2016 21:29:25 +0800 Subject: [PATCH] hide section with user has no organizations --- templates/user/profile.tmpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl index 6591b454..410aef79 100644 --- a/templates/user/profile.tmpl +++ b/templates/user/profile.tmpl @@ -57,11 +57,13 @@ */}} + {{if .Orgs}}
  • {{range .Orgs}} {{end}}
  • + {{end}} {{if and .IsSigned (ne .SignedUserName .Owner.Name)}}
  • {{if .SignedUser.IsFollowing .Owner.Id}}