aboutsummaryrefslogtreecommitdiffstats
path: root/templates/org/member/members.tmpl
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2017-10-15 05:24:24 +0300
committerLunny Xiao <xiaolunwen@gmail.com>2017-10-15 10:24:24 +0800
commit32ca299650277829b93994eca1508f9d84a5b667 (patch)
tree65cabe4bb9d3cefb9c253b73c087b2439c13ae2c /templates/org/member/members.tmpl
parentf42dbdbae59600266d03357f9693c659adc9cab3 (diff)
downloadgitea-32ca299650277829b93994eca1508f9d84a5b667.tar.gz
gitea-32ca299650277829b93994eca1508f9d84a5b667.zip
Remove direct user adding to organization members (#2641)
Diffstat (limited to 'templates/org/member/members.tmpl')
-rw-r--r--templates/org/member/members.tmpl6
1 files changed, 0 insertions, 6 deletions
diff --git a/templates/org/member/members.tmpl b/templates/org/member/members.tmpl
index d7514d8ba7..e47008c89a 100644
--- a/templates/org/member/members.tmpl
+++ b/templates/org/member/members.tmpl
@@ -3,12 +3,6 @@
{{template "org/header" .}}
<div class="ui container">
{{template "base/alert" .}}
- {{if .IsOrganizationOwner}}
- <div class="text right">
- <a class="ui blue button" href="{{.OrgLink}}/invitations/new"><i class="octicon octicon-repo-create"></i> {{.i18n.Tr "org.invite_someone"}}</a>
- </div>
- <div class="ui divider"></div>
- {{end}}
<div class="list">
{{range .Members}}