aboutsummaryrefslogtreecommitdiffstats
path: root/templates/org/teams.tmpl
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-08-10 20:11:18 -0700
committerUnknwon <joe2010xtmf@163.com>2014-08-10 20:11:18 -0700
commit5fbf8531e6a2b74ebc9dd2a5967e82a8c9216c7a (patch)
tree8c657d037a5c87ec13cc828244ae30d3fe1168ab /templates/org/teams.tmpl
parent7af7584d25f48309a70083c30805ebb8454611f0 (diff)
downloadgitea-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.tmpl2
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>