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:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2016-12-16 18:46:24 +0300
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2016-12-17 22:22:19 +0300
commit2f87703cfff38a8c88f44310031c35dbe7f017ff (patch)
treece5195d18e2a3573c673f6ebc3b0e15ec7e1f9c2 /app/views/shared/members
parent8c2297f00b96cafea2adf7918086b3ef5fd049fc (diff)
Move all project buttons to header
Diffstat (limited to 'app/views/shared/members')
-rw-r--r--app/views/shared/members/_access_request_buttons.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/members/_access_request_buttons.html.haml b/app/views/shared/members/_access_request_buttons.html.haml
index e9b9ed554c1..fb795ad1c72 100644
--- a/app/views/shared/members/_access_request_buttons.html.haml
+++ b/app/views/shared/members/_access_request_buttons.html.haml
@@ -1,6 +1,6 @@
- model_name = source.model_name.to_s.downcase
-.access-button.inline.hidden-sm.hidden-xs
+.project-action-button.inline
- if can?(current_user, :"destroy_#{model_name}_member", source.members.find_by(user_id: current_user.id))
= link_to "Leave #{model_name}", polymorphic_path([:leave, source, :members]),
method: :delete,