BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
4c8666e6
Commit
4c8666e6
authored
Dec 07, 2015
by
Zeger-Jan van de Weg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix commit message textarea position
parent
96520227
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
31 deletions
+32
-31
_accept.html.haml
...ews/projects/merge_requests/widget/open/_accept.html.haml
+32
-31
No files found.
app/views/projects/merge_requests/widget/open/_accept.html.haml
View file @
4c8666e6
...
@@ -3,37 +3,38 @@
...
@@ -3,37 +3,38 @@
=
form_for
[
:merge
,
@project
.
namespace
.
becomes
(
Namespace
),
@project
,
@merge_request
],
remote:
true
,
method: :post
,
html:
{
class:
'accept-mr-form js-requires-input'
}
do
|
f
|
=
form_for
[
:merge
,
@project
.
namespace
.
becomes
(
Namespace
),
@project
,
@merge_request
],
remote:
true
,
method: :post
,
html:
{
class:
'accept-mr-form js-requires-input'
}
do
|
f
|
=
hidden_field_tag
:authenticity_token
,
form_authenticity_token
=
hidden_field_tag
:authenticity_token
,
form_authenticity_token
.accept-merge-holder.clearfix.js-toggle-container
.accept-merge-holder.clearfix.js-toggle-container
.accept-action
.clearfix
-
if
@merge_request
.
ci_commit
&&
@merge_request
.
ci_commit
.
active?
.accept-action
%span
.btn-group
-
if
@merge_request
.
ci_commit
&&
@merge_request
.
ci_commit
.
active?
=
link_to
"#"
,
class:
"btn btn-create merge_when_build_succeeds"
do
%span
.btn-group
Merge When Build Succeeds
=
link_to
"#"
,
class:
"btn btn-create merge_when_build_succeeds"
do
%a
.btn.btn-success.dropdown-toggle
{
'data-toggle'
=>
'dropdown'
}
Merge When Build Succeeds
%span
.caret
%a
.btn.btn-success.dropdown-toggle
{
'data-toggle'
=>
'dropdown'
}
%span
.sr-only
%span
.caret
Select Merge Moment
%span
.sr-only
%ul
.dropdown-menu.dropdown-menu-right
{
role:
'menu'
}
Select Merge Moment
%li
%ul
.dropdown-menu.dropdown-menu-right
{
role:
'menu'
}
=
link_to
"#"
,
class:
"merge_when_build_succeeds"
do
%li
=
icon
(
'check fw'
)
=
link_to
"#"
,
class:
"merge_when_build_succeeds"
do
Merge When Build Succeeds
=
icon
(
'check fw'
)
%li
Merge When Build Succeeds
=
link_to
"#"
,
class:
"accept_merge_request"
do
%li
=
icon
(
'warning fw'
)
=
link_to
"#"
,
class:
"accept_merge_request"
do
Accept Merge Request Now
=
icon
(
'warning fw'
)
-
else
Merge Immediately
=
f
.
button
class:
"btn btn-create btn-grouped accept_merge_request
#{
status_class
}
"
do
-
else
Accept Merge Request
=
f
.
button
class:
"btn btn-create btn-grouped accept_merge_request
#{
status_class
}
"
do
-
if
@merge_request
.
can_remove_source_branch?
(
current_user
)
Accept Merge Request
.accept-control.checkbox
-
if
@merge_request
.
can_remove_source_branch?
(
current_user
)
=
label_tag
:should_remove_source_branch
,
class:
"remove_source_checkbox"
do
.accept-control.checkbox
=
check_box_tag
:should_remove_source_branch
=
label_tag
:should_remove_source_branch
,
class:
"remove_source_checkbox"
do
Remove source branch
=
check_box_tag
:should_remove_source_branch
.accept-control.right
Remove source branch
=
link_to
"#"
,
class:
"modify-merge-commit-link js-toggle-button"
do
.accept-control.right
=
icon
(
'edit'
)
=
link_to
"#"
,
class:
"modify-merge-commit-link js-toggle-button"
do
Modify commit message
=
icon
(
'edit'
)
.js-toggle-content.hide.prepend-top-20
Modify commit message
.js-toggle-content.hide.prepend-top-default
=
render
'shared/commit_message_container'
,
params:
params
,
=
render
'shared/commit_message_container'
,
params:
params
,
text:
@merge_request
.
merge_commit_message
,
text:
@merge_request
.
merge_commit_message
,
rows:
14
,
hint:
true
rows:
14
,
hint:
true
...
...
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