Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
d2e29cd1
Commit
d2e29cd1
authored
Dec 15, 2017
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve conflicts in member controllers, presenters, and views
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
0b90d23d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1 addition
and
18 deletions
+1
-18
app/controllers/admin/groups_controller.rb
app/controllers/admin/groups_controller.rb
+1
-3
app/presenters/group_member_presenter.rb
app/presenters/group_member_presenter.rb
+0
-3
app/presenters/member_presenter.rb
app/presenters/member_presenter.rb
+0
-3
app/presenters/project_member_presenter.rb
app/presenters/project_member_presenter.rb
+0
-3
app/views/shared/members/_member.html.haml
app/views/shared/members/_member.html.haml
+0
-6
No files found.
app/controllers/admin/groups_controller.rb
View file @
d2e29cd1
class
Admin::GroupsController
<
Admin
::
ApplicationController
include
MembersPresentation
<<<<<<<
HEAD
prepend
EE
::
Admin
::
GroupsController
=======
>>>>>>>
upstream
/
master
before_action
:group
,
only:
[
:edit
,
:update
,
:destroy
,
:project_update
,
:members_update
]
...
...
app/presenters/group_member_presenter.rb
View file @
d2e29cd1
class
GroupMemberPresenter
<
MemberPresenter
<<<<<<<
HEAD
prepend
EE
::
GroupMemberPresenter
=======
>>>>>>>
upstream
/
master
private
def
admin_member_permission
...
...
app/presenters/member_presenter.rb
View file @
d2e29cd1
class
MemberPresenter
<
Gitlab
::
View
::
Presenter
::
Delegated
<<<<<<<
HEAD
prepend
EE
::
MemberPresenter
=======
>>>>>>>
upstream
/
master
presents
:member
def
access_level_roles
...
...
app/presenters/project_member_presenter.rb
View file @
d2e29cd1
class
ProjectMemberPresenter
<
MemberPresenter
<<<<<<<
HEAD
prepend
EE
::
ProjectMemberPresenter
=======
>>>>>>>
upstream
/
master
private
def
admin_member_permission
...
...
app/views/shared/members/_member.html.haml
View file @
d2e29cd1
...
...
@@ -62,10 +62,7 @@
=
f
.
hidden_field
:access_level
.member-form-control.dropdown.append-right-5
%button
.dropdown-menu-toggle.js-member-permissions-dropdown
{
type:
"button"
,
<<<<<<<
HEAD
disabled:
member
.
can_override?
,
=======
>>>>>>>
upstream
/
master
data:
{
toggle:
"dropdown"
,
field_name:
"#{f.object_name}[access_level]"
}
}
%span
.dropdown-toggle-text
=
member
.
human_access
...
...
@@ -85,10 +82,7 @@
can_override:
member
.
can_override?
.prepend-left-5.clearable-input.member-form-control
=
f
.
text_field
:expires_at
,
<<<<<<<
HEAD
disabled:
member
.
can_override?
,
==
=====
>>>>>>> upstream/master
class:
'form-control js-access-expiration-date js-member-update-control'
,
placeholder:
'Expiration date'
,
id:
"member_expires_at_
#{
member
.
id
}
"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment