summaryrefslogtreecommitdiffstats
path: root/templates/org/member
diff options
context:
space:
mode:
Diffstat (limited to 'templates/org/member')
-rw-r--r--templates/org/member/invite.tmpl22
-rw-r--r--templates/org/member/members.tmpl6
2 files changed, 0 insertions, 28 deletions
diff --git a/templates/org/member/invite.tmpl b/templates/org/member/invite.tmpl
deleted file mode 100644
index e5d1575939..0000000000
--- a/templates/org/member/invite.tmpl
+++ /dev/null
@@ -1,22 +0,0 @@
-{{template "base/head" .}}
-<div class="organization invite">
- {{template "org/header" .}}
- <div class="ui container">
- <div id="invite-box">
- {{template "base/alert" .}}
- <h2>{{.i18n.Tr "org.members.invite_desc" .Org.DisplayName}}</h2>
- <form class="ui form" action="{{.Link}}" method="post">
- {{.CsrfTokenHtml}}
- <div class="inline field ui left">
- <div id="search-user-box" class="ui search">
- <div class="ui input">
- <input class="prompt" name="uname" placeholder="{{.i18n.Tr "repo.settings.search_user_placeholder"}}" autocomplete="off" autofocus required>
- </div>
- </div>
- </div>
- <button class="ui blue button">{{.i18n.Tr "org.members.invite_now"}}</button>
- </form>
- </div>
- </div>
-</div>
-{{template "base/footer" .}}
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}}