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
Boxiang Sun
gitlab-ce
Commits
89488a7c
Commit
89488a7c
authored
Dec 02, 2015
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move "Please review the contribution guide" next to MR/issue Submit button
parent
ecd9f5ec
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
app/views/shared/issuable/_form.html.haml
app/views/shared/issuable/_form.html.haml
+7
-5
No files found.
app/views/shared/issuable/_form.html.haml
View file @
89488a7c
...
@@ -94,15 +94,17 @@
...
@@ -94,15 +94,17 @@
=
link_to
'Change branches'
,
mr_change_branches_path
(
@merge_request
)
=
link_to
'Change branches'
,
mr_change_branches_path
(
@merge_request
)
.form-actions
.form-actions
-
if
!
issuable
.
project
.
empty_repo?
&&
(
guide_url
=
contribution_guide_path
(
issuable
.
project
))
&&
!
issuable
.
persisted?
%p
Please review the
%strong
#{
link_to
'guidelines for contribution'
,
guide_url
}
to this repository.
-
if
issuable
.
new_record?
-
if
issuable
.
new_record?
=
f
.
submit
"Submit new
#{
issuable
.
class
.
model_name
.
human
.
downcase
}
"
,
class:
'btn btn-create'
=
f
.
submit
"Submit new
#{
issuable
.
class
.
model_name
.
human
.
downcase
}
"
,
class:
'btn btn-create'
-
else
-
else
=
f
.
submit
'Save changes'
,
class:
'btn btn-save'
=
f
.
submit
'Save changes'
,
class:
'btn btn-save'
-
if
!
issuable
.
persisted?
&&
!
issuable
.
project
.
empty_repo?
&&
(
guide_url
=
contribution_guide_path
(
issuable
.
project
))
.inline.prepend-left-10
Please review the
%strong
#{
link_to
'contribution guidelines'
,
guide_url
}
for this project.
-
if
issuable
.
new_record?
-
if
issuable
.
new_record?
-
cancel_project
=
issuable
.
source_project
-
cancel_project
=
issuable
.
source_project
-
else
-
else
...
...
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