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
Jérome Perrin
gitlab-ce
Commits
e9cf79da
Commit
e9cf79da
authored
Sep 08, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Style merge request page
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
46511558
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
11 deletions
+19
-11
app/assets/stylesheets/pages/merge_requests.scss
app/assets/stylesheets/pages/merge_requests.scss
+18
-7
app/views/projects/merge_requests/_show.html.haml
app/views/projects/merge_requests/_show.html.haml
+0
-3
app/views/projects/merge_requests/widget/open/_accept.html.haml
...ews/projects/merge_requests/widget/open/_accept.html.haml
+1
-1
No files found.
app/assets/stylesheets/pages/merge_requests.scss
View file @
e9cf79da
...
@@ -3,10 +3,10 @@
...
@@ -3,10 +3,10 @@
*
*
*/
*/
.mr-state-widget
{
.mr-state-widget
{
background
:
#
FAFAFA
;
background
:
#
f8fafc
;
margin-bottom
:
20px
;
margin-bottom
:
20px
;
color
:
#666
;
color
:
$gl-gray
;
border
:
1px
solid
#e
5e5e5
;
border
:
1px
solid
#e
ef0f2
;
@include
box-shadow
(
0
1px
1px
rgba
(
0
,
0
,
0
,
0
.05
));
@include
box-shadow
(
0
1px
1px
rgba
(
0
,
0
,
0
,
0
.05
));
@include
border-radius
(
3px
);
@include
border-radius
(
3px
);
...
@@ -29,6 +29,14 @@
...
@@ -29,6 +29,14 @@
padding
:
5px
;
padding
:
5px
;
line-height
:
20px
;
line-height
:
20px
;
&
.right
{
float
:
right
;
padding-top
:
12px
;
a
{
color
:
$gl-gray
;
}
}
.remove_source_checkbox
{
.remove_source_checkbox
{
margin
:
0
;
margin
:
0
;
}
}
...
@@ -36,7 +44,7 @@
...
@@ -36,7 +44,7 @@
}
}
.ci_widget
{
.ci_widget
{
border-bottom
:
1px
solid
#
EEE
;
border-bottom
:
1px
solid
#
eef0f2
;
i
{
i
{
margin-right
:
4px
;
margin-right
:
4px
;
...
@@ -91,9 +99,12 @@
...
@@ -91,9 +99,12 @@
.merge-request
.merge-request-tabs
{
.merge-request
.merge-request-tabs
{
@include
nav-menu
;
@include
nav-menu
;
margin-bottom
:
-15px
;
margin
:
-
$gl-padding
;
margin-top
:
26px
;
padding
:
$gl-padding
;
text-align
:
left
;
text-align
:
center
;
border-top
:
1px
solid
#e7e9ed
;
margin-top
:
18px
;
margin-bottom
:
3px
;
}
}
.mr_source_commit
,
.mr_source_commit
,
...
...
app/views/projects/merge_requests/_show.html.haml
View file @
e9cf79da
...
@@ -40,17 +40,14 @@
...
@@ -40,17 +40,14 @@
%ul
.merge-request-tabs
%ul
.merge-request-tabs
%li
.notes-tab
%li
.notes-tab
=
link_to
namespace_project_merge_request_path
(
@project
.
namespace
,
@project
,
@merge_request
),
data:
{
target:
'#notes'
,
action:
'notes'
,
toggle:
'tab'
}
do
=
link_to
namespace_project_merge_request_path
(
@project
.
namespace
,
@project
,
@merge_request
),
data:
{
target:
'#notes'
,
action:
'notes'
,
toggle:
'tab'
}
do
=
icon
(
'comments'
)
Discussion
Discussion
%span
.badge
=
@merge_request
.
mr_and_commit_notes
.
user
.
count
%span
.badge
=
@merge_request
.
mr_and_commit_notes
.
user
.
count
%li
.commits-tab
%li
.commits-tab
=
link_to
commits_namespace_project_merge_request_path
(
@project
.
namespace
,
@project
,
@merge_request
),
data:
{
target:
'#commits'
,
action:
'commits'
,
toggle:
'tab'
}
do
=
link_to
commits_namespace_project_merge_request_path
(
@project
.
namespace
,
@project
,
@merge_request
),
data:
{
target:
'#commits'
,
action:
'commits'
,
toggle:
'tab'
}
do
=
icon
(
'history'
)
Commits
Commits
%span
.badge
=
@commits
.
size
%span
.badge
=
@commits
.
size
%li
.diffs-tab
%li
.diffs-tab
=
link_to
diffs_namespace_project_merge_request_path
(
@project
.
namespace
,
@project
,
@merge_request
),
data:
{
target:
'#diffs'
,
action:
'diffs'
,
toggle:
'tab'
}
do
=
link_to
diffs_namespace_project_merge_request_path
(
@project
.
namespace
,
@project
,
@merge_request
),
data:
{
target:
'#diffs'
,
action:
'diffs'
,
toggle:
'tab'
}
do
=
icon
(
'list-alt'
)
Changes
Changes
%span
.badge
=
@merge_request
.
diffs
.
size
%span
.badge
=
@merge_request
.
diffs
.
size
...
...
app/views/projects/merge_requests/widget/open/_accept.html.haml
View file @
e9cf79da
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
=
label_tag
:should_remove_source_branch
,
class:
"remove_source_checkbox"
do
=
label_tag
:should_remove_source_branch
,
class:
"remove_source_checkbox"
do
=
check_box_tag
:should_remove_source_branch
=
check_box_tag
:should_remove_source_branch
Remove source branch
Remove source branch
.accept-control
.accept-control
.right
=
link_to
"#"
,
class:
"modify-merge-commit-link js-toggle-button"
do
=
link_to
"#"
,
class:
"modify-merge-commit-link js-toggle-button"
do
=
icon
(
'edit'
)
=
icon
(
'edit'
)
Modify commit message
Modify commit message
...
...
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