diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-08-10 20:11:18 -0700 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-08-10 20:11:18 -0700 |
commit | 5fbf8531e6a2b74ebc9dd2a5967e82a8c9216c7a (patch) | |
tree | 8c657d037a5c87ec13cc828244ae30d3fe1168ab /templates/org/teams.tmpl | |
parent | 7af7584d25f48309a70083c30805ebb8454611f0 (diff) | |
download | gitea-5fbf8531e6a2b74ebc9dd2a5967e82a8c9216c7a.tar.gz gitea-5fbf8531e6a2b74ebc9dd2a5967e82a8c9216c7a.zip |
Finish new home page of organization
Diffstat (limited to 'templates/org/teams.tmpl')
-rw-r--r-- | templates/org/teams.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/org/teams.tmpl b/templates/org/teams.tmpl index decfecf598..90ee209c0a 100644 --- a/templates/org/teams.tmpl +++ b/templates/org/teams.tmpl @@ -43,7 +43,7 @@ </p> </div> <div class="panel-footer"> - {{if .IsMember $.SignedUserId}} + {{if .IsMember $.SignedUser.Id}} <a class="pull-right btn btn-danger" href="/org/{{$.Org.Name}}/teams/{{.LowerName}}?action=leave">Leave</a> {{else}} <a class="pull-right btn btn-default" href="/org/{{$.Org.Name}}/teams/{{.LowerName}}?action=join">Join</a> |