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
0ec82b0a
Commit
0ec82b0a
authored
Sep 05, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed conflicts
parent
51b4241b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
30 deletions
+3
-30
app/assets/javascripts/project_new.js
app/assets/javascripts/project_new.js
+0
-10
app/views/projects/_issues_settings.html.haml
app/views/projects/_issues_settings.html.haml
+1
-1
app/views/projects/_merge_request_settings.html.haml
app/views/projects/_merge_request_settings.html.haml
+2
-19
No files found.
app/assets/javascripts/project_new.js
View file @
0ec82b0a
...
...
@@ -17,15 +17,6 @@
}
ProjectNew
.
prototype
.
toggleSettings
=
function
()
{
<<<<<<<
HEAD
this
.
_showOrHide
(
'
#project_builds_enabled
'
,
'
.builds-feature
'
);
this
.
_showOrHide
(
'
#project_merge_requests_enabled
'
,
'
.merge-requests-feature
'
);
return
this
.
_showOrHide
(
'
#project_issues_enabled
'
,
'
.issues-feature
'
);
};
ProjectNew
.
prototype
.
toggleSettingsOnclick
=
function
()
{
return
$
(
'
#project_builds_enabled, #project_merge_requests_enabled, #project_issues_enabled
'
).
on
(
'
click
'
,
this
.
toggleSettings
);
=======
var
self
=
this
;
this
.
$selects
.
each
(
function
()
{
...
...
@@ -38,7 +29,6 @@
ProjectNew
.
prototype
.
toggleSettingsOnclick
=
function
()
{
this
.
$selects
.
on
(
'
change
'
,
this
.
toggleSettings
);
>>>>>>>
ce
/
master
};
ProjectNew
.
prototype
.
_showOrHide
=
function
(
checkElement
,
container
)
{
...
...
app/views/projects/_issues_settings.html.haml
View file @
0ec82b0a
%fieldset
.features.append-bottom-0.issue-feature
%fieldset
.features.append-bottom-0.issue
s
-feature
%h5
.prepend-top-0
Issues
.form-group
...
...
app/views/projects/_merge_request_settings.html.haml
View file @
0ec82b0a
<
<<<<<<
HEAD
%fieldset
.merge-request-feature.append-bottom-default
%fieldset
.merge-requests-feature.append-bottom-default
%h5
.prepend-top-0
Merge requests
...
...
@@ -79,7 +78,7 @@
-
if
@project
.
approvers
.
empty?
%li
There are no approvers
.form-group
.form-group
.builds-feature
.checkbox
=
f
.
label
:only_allow_merge_if_build_succeeds
do
=
f
.
check_box
:only_allow_merge_if_build_succeeds
...
...
@@ -90,19 +89,3 @@
:javascript
new
UsersSelect
();
==
=====
.merge-requests-feature
%fieldset
.builds-feature
%hr
%h5
.prepend-top-0
Merge
Requests
.form-group
.checkbox
=
f
.
label
:only_allow_merge_if_build_succeeds
do
=
f
.
check_box
:only_allow_merge_if_build_succeeds
%strong
Only
allow
merge
requests
to
be
merged
if
the
build
succeeds
%br
%span
.descr
Builds
need
to
be
configured
to
enable
this
feature
.
=
link_to
icon
(
'question-circle'
),
help_page_path
(
'workflow/merge_requests'
,
anchor:
'only-allow-merge-requests-to-be-merged-if-the-build-succeeds'
)
>
>>>>>> ce/master
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