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
6bebc863
Commit
6bebc863
authored
Jun 06, 2017
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve conflicts
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
0674fb62
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
19 deletions
+2
-19
app/assets/javascripts/project_select.js
app/assets/javascripts/project_select.js
+1
-7
app/assets/javascripts/vue_merge_request_widget/stores/mr_widget_store.js
...cripts/vue_merge_request_widget/stores/mr_widget_store.js
+0
-3
db/schema.rb
db/schema.rb
+0
-4
spec/models/merge_request_spec.rb
spec/models/merge_request_spec.rb
+1
-5
No files found.
app/assets/javascripts/project_select.js
View file @
6bebc863
...
...
@@ -55,12 +55,9 @@ import Api from './api';
this
.
includeGroups
=
$
(
select
).
data
(
'
include-groups
'
);
this
.
allProjects
=
$
(
select
).
data
(
'
allprojects
'
)
||
false
;
this
.
orderBy
=
$
(
select
).
data
(
'
order-by
'
)
||
'
id
'
;
<<<<<<<
HEAD
this
.
withIssuesEnabled
=
$
(
select
).
data
(
'
with-issues-enabled
'
);
this
.
withMergeRequestsEnabled
=
$
(
select
).
data
(
'
with-merge-requests-enabled
'
);
=======
idAttribute
=
$
(
select
).
data
(
'
idattribute
'
)
||
'
web_url
'
;
>>>>>>>
origin
/
master
placeholder
=
"
Search for project
"
;
if
(
this
.
includeGroups
)
{
...
...
@@ -97,12 +94,9 @@ import Api from './api';
}
else
{
return
Api
.
projects
(
query
.
term
,
{
order_by
:
_this
.
orderBy
,
<<<<<<<
HEAD
with_issues_enabled
:
_this
.
withIssuesEnabled
,
with_merge_requests_enabled
:
_this
.
withMergeRequestsEnabled
=======
with_merge_requests_enabled
:
_this
.
withMergeRequestsEnabled
,
membership
:
!
_this
.
allProjects
>>>>>>>
origin
/
master
},
projectsCallback
);
}
};
...
...
app/assets/javascripts/vue_merge_request_widget/stores/mr_widget_store.js
View file @
6bebc863
...
...
@@ -4,10 +4,7 @@ import { getStateKey } from '../dependencies';
export
default
class
MergeRequestStore
{
constructor
(
data
)
{
this
.
sha
=
data
.
diff_head_sha
;
<<<<<<<
HEAD
this
.
gitlabLogo
=
data
.
gitlabLogo
;
=======
>>>>>>>
origin
/
master
this
.
setData
(
data
);
}
...
...
db/schema.rb
View file @
6bebc863
...
...
@@ -11,11 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
<<<<<<<
HEAD
ActiveRecord
::
Schema
.
define
(
version:
20170525174156
)
do
=======
ActiveRecord
::
Schema
.
define
(
version:
20170602003304
)
do
>>>>>>>
origin
/
master
# These are extensions that must be enabled in order to support this database
enable_extension
"plpgsql"
...
...
spec/models/merge_request_spec.rb
View file @
6bebc863
...
...
@@ -564,11 +564,7 @@ describe MergeRequest, models: true do
project
.
team
<<
[
developer
,
:developer
]
project
.
team
<<
[
blocked_developer
,
:developer
]
<<<<<<<
HEAD
expect
(
merge_request
.
number_of_potential_approvers
).
to
eq
(
2
)
=======
expect
(
merge_request
.
reload
.
number_of_potential_approvers
).
to
eq
(
1
)
>>>>>>>
origin
/
master
expect
(
merge_request
.
reload
.
number_of_potential_approvers
).
to
eq
(
2
)
end
context
"when the project is part of a group"
do
...
...
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