summaryrefslogtreecommitdiffstats
path: root/templates/org/member/members.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/org/member/members.tmpl')
-rw-r--r--templates/org/member/members.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/org/member/members.tmpl b/templates/org/member/members.tmpl
index 3ab92bbfc0..1c530982fb 100644
--- a/templates/org/member/members.tmpl
+++ b/templates/org/member/members.tmpl
@@ -6,7 +6,7 @@
{{template "ng/base/alert" .}}
</div>
<div class="org-toolbar clear">
- {{if .IsAdminTeam}}
+ {{if .IsOrganizationOwner}}
<a class="btn btn-green btn-large btn-link btn-radius right" href="{{.OrgLink}}/invitations/new"><i class="octicon octicon-repo-create"></i> {{.i18n.Tr "org.invite_someone"}}</a>
{{end}}
</div>