Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/invites/show.html.haml')
-rw-r--r--app/views/invites/show.html.haml29
1 files changed, 0 insertions, 29 deletions
diff --git a/app/views/invites/show.html.haml b/app/views/invites/show.html.haml
deleted file mode 100644
index ab0ecffe4d2..00000000000
--- a/app/views/invites/show.html.haml
+++ /dev/null
@@ -1,29 +0,0 @@
-%h3.page-title Invitation
-
-%p
- You have been invited
- - if inviter = @member.created_by
- by
- = link_to inviter.name, user_url(inviter)
- to join
- - case @member.source
- - when Project
- - project = @member.source
- project
- %strong
- = link_to project.name_with_namespace, namespace_project_url(project.namespace, project)
- - when Group
- - group = @member.source
- group
- %strong
- = link_to group.name, group_url(group)
- as #{@member.human_access}.
-
-- if @member.source.users.include?(current_user)
- %p
- However, you are already a member of this #{@member.source.is_a?(Group) ? "group" : "project"}.
- Sign in using a different account to accept the invitation.
-- else
- .actions
- = link_to "Accept invitation", accept_invite_url(@token), method: :post, class: "btn btn-success"
- = link_to "Decline", decline_invite_url(@token), method: :post, class: "btn btn-danger prepend-left-10"