Commit d2e29cd1 authored by Rémy Coutable's avatar Rémy Coutable

Resolve conflicts in member controllers, presenters, and views

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 0b90d23d
class Admin::GroupsController < Admin::ApplicationController class Admin::GroupsController < Admin::ApplicationController
include MembersPresentation include MembersPresentation
<<<<<<< HEAD
prepend EE::Admin::GroupsController prepend EE::Admin::GroupsController
=======
>>>>>>> upstream/master
before_action :group, only: [:edit, :update, :destroy, :project_update, :members_update] before_action :group, only: [:edit, :update, :destroy, :project_update, :members_update]
......
class GroupMemberPresenter < MemberPresenter class GroupMemberPresenter < MemberPresenter
<<<<<<< HEAD
prepend EE::GroupMemberPresenter prepend EE::GroupMemberPresenter
=======
>>>>>>> upstream/master
private private
def admin_member_permission def admin_member_permission
......
class MemberPresenter < Gitlab::View::Presenter::Delegated class MemberPresenter < Gitlab::View::Presenter::Delegated
<<<<<<< HEAD
prepend EE::MemberPresenter prepend EE::MemberPresenter
=======
>>>>>>> upstream/master
presents :member presents :member
def access_level_roles def access_level_roles
......
class ProjectMemberPresenter < MemberPresenter class ProjectMemberPresenter < MemberPresenter
<<<<<<< HEAD
prepend EE::ProjectMemberPresenter prepend EE::ProjectMemberPresenter
=======
>>>>>>> upstream/master
private private
def admin_member_permission def admin_member_permission
......
...@@ -62,10 +62,7 @@ ...@@ -62,10 +62,7 @@
= f.hidden_field :access_level = f.hidden_field :access_level
.member-form-control.dropdown.append-right-5 .member-form-control.dropdown.append-right-5
%button.dropdown-menu-toggle.js-member-permissions-dropdown{ type: "button", %button.dropdown-menu-toggle.js-member-permissions-dropdown{ type: "button",
<<<<<<< HEAD
disabled: member.can_override?, disabled: member.can_override?,
=======
>>>>>>> upstream/master
data: { toggle: "dropdown", field_name: "#{f.object_name}[access_level]" } } data: { toggle: "dropdown", field_name: "#{f.object_name}[access_level]" } }
%span.dropdown-toggle-text %span.dropdown-toggle-text
= member.human_access = member.human_access
...@@ -85,10 +82,7 @@ ...@@ -85,10 +82,7 @@
can_override: member.can_override? can_override: member.can_override?
.prepend-left-5.clearable-input.member-form-control .prepend-left-5.clearable-input.member-form-control
= f.text_field :expires_at, = f.text_field :expires_at,
<<<<<<< HEAD
disabled: member.can_override?, disabled: member.can_override?,
=======
>>>>>>> upstream/master
class: 'form-control js-access-expiration-date js-member-update-control', class: 'form-control js-access-expiration-date js-member-update-control',
placeholder: 'Expiration date', placeholder: 'Expiration date',
id: "member_expires_at_#{member.id}", id: "member_expires_at_#{member.id}",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment