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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
c6bc57c1
Commit
c6bc57c1
authored
Nov 11, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce
parents
868a08d1
72922cfa
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
10 deletions
+4
-10
app/assets/javascripts/dispatcher.js.coffee
app/assets/javascripts/dispatcher.js.coffee
+0
-2
app/assets/javascripts/team_members.js.coffee
app/assets/javascripts/team_members.js.coffee
+0
-4
app/views/projects/merge_requests/show/_how_to_merge.html.haml
...iews/projects/merge_requests/show/_how_to_merge.html.haml
+3
-3
app/views/projects/team_members/_team_member.html.haml
app/views/projects/team_members/_team_member.html.haml
+1
-1
No files found.
app/assets/javascripts/dispatcher.js.coffee
View file @
c6bc57c1
...
...
@@ -58,8 +58,6 @@ class Dispatcher
when
'groups:show'
,
'projects:show'
new
Activities
()
shortcut_handler
=
new
ShortcutsNavigation
()
when
'projects:teams:members:index'
new
TeamMembers
()
when
'groups:members'
new
GroupMembers
()
new
UsersSelect
()
...
...
app/assets/javascripts/team_members.js.coffee
deleted
100644 → 0
View file @
868a08d1
class
@
TeamMembers
constructor
:
->
$
(
'.team-members .project-access-select'
).
on
"change"
,
->
$
(
this
.
form
).
submit
()
app/views/projects/merge_requests/show/_how_to_merge.html.haml
View file @
c6bc57c1
...
...
@@ -10,11 +10,11 @@
-
target_remote
=
@merge_request
.
target_project
.
namespace
.
nil?
?
"target"
:
@merge_request
.
target_project
.
namespace
.
path
%p
%strong
Step 1.
Checkout the branch we are going to merge and pull in the code
Fetch the code and create a new branch pointing to it
%pre
.dark
:preserve
git
checkout -b
#{
@merge_request
.
source_project_path
}
-
#{
@merge_request
.
source_branch
}
#{
@merge_request
.
target
_branch
}
git
pull
#{
@merge_request
.
source_project
.
http_url_to_repo
}
#{
@merge_request
.
source_branch
}
git
fetch
#{
@merge_request
.
source_project
.
http_url_to_repo
}
#{
@merge_request
.
source
_branch
}
git
checkout -b
#{
@merge_request
.
source_project_path
}
-
#{
@merge_request
.
source_branch
}
FETCH_HEAD
%p
%strong
Step 2.
Merge the branch and push the changes to GitLab
...
...
app/views/projects/team_members/_team_member.html.haml
View file @
c6bc57c1
...
...
@@ -5,7 +5,7 @@
-
unless
@project
.
personal?
&&
user
==
current_user
.pull-left
=
form_for
(
member
,
as: :project_member
,
url:
project_team_member_path
(
@project
,
member
.
user
))
do
|
f
|
=
f
.
select
:access_level
,
options_for_select
(
ProjectMember
.
access_roles
,
member
.
access_level
),
{},
class:
"
medium project-access-select span2
trigger-submit"
=
f
.
select
:access_level
,
options_for_select
(
ProjectMember
.
access_roles
,
member
.
access_level
),
{},
class:
"trigger-submit"
=
link_to
project_team_member_path
(
@project
,
user
),
data:
{
confirm:
remove_from_project_team_message
(
@project
,
user
)},
method: :delete
,
class:
"btn-tiny btn btn-remove"
,
title:
'Remove user from team'
do
%i
.fa.fa-minus.fa-inverse
...
...
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