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
4b7c9c7f
Unverified
Commit
4b7c9c7f
authored
Dec 17, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert sidebar position for issue and merge request
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
8dc4c7b4
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
24 additions
and
39 deletions
+24
-39
issuable_context.js.coffee
app/assets/javascripts/issuable_context.js.coffee
+1
-1
issuable.scss
app/assets/stylesheets/pages/issuable.scss
+2
-9
issues.scss
app/assets/stylesheets/pages/issues.scss
+0
-7
_discussion.html.haml
app/views/projects/issues/_discussion.html.haml
+0
-6
show.html.haml
app/views/projects/issues/show.html.haml
+10
-4
_discussion.html.haml
app/views/projects/merge_requests/_discussion.html.haml
+0
-3
_show.html.haml
app/views/projects/merge_requests/_show.html.haml
+10
-8
_mr_box.html.haml
app/views/projects/merge_requests/show/_mr_box.html.haml
+1
-1
No files found.
app/assets/javascripts/issuable_context.js.coffee
View file @
4b7c9c7f
...
...
@@ -18,7 +18,7 @@ class @IssuableContext
$
(
'.issuable-affix'
).
affix
offset
:
top
:
->
@
top
=
(
$
(
'.issuable-affix'
).
offset
().
top
-
6
0
)
@
top
=
(
$
(
'.issuable-affix'
).
offset
().
top
-
7
0
)
bottom
:
->
@
bottom
=
$
(
'.footer'
).
outerHeight
(
true
)
...
...
app/assets/stylesheets/pages/issuable.scss
View file @
4b7c9c7f
...
...
@@ -18,7 +18,7 @@
&
.affix
{
position
:
fixed
;
top
:
6
0px
;
top
:
7
0px
;
margin-right
:
35px
;
}
}
...
...
@@ -39,16 +39,9 @@
section
{
border-right
:
1px
solid
$border-white-light
;
>
.tab-content
{
.issuable-discussion
{
margin-right
:
1px
;
}
.issue-discussion
>
.gray-content-block
,
>
.gray-content-block
{
margin-top
:
0
;
border-top
:
none
;
margin-right
:
-15px
;
}
}
}
...
...
app/assets/stylesheets/pages/issues.scss
View file @
4b7c9c7f
...
...
@@ -144,10 +144,3 @@ form.edit-issue {
.issue-form
.select2-container
{
width
:
250px
!
important
;
}
.issue-discussion
{
.common-note-form
{
border-right
:
1px
solid
$border-white-light
;
}
}
app/views/projects/issues/_discussion.html.haml
View file @
4b7c9c7f
...
...
@@ -5,11 +5,5 @@
-
else
=
link_to
'Close Issue'
,
issue_path
(
@issue
,
issue:
{
state_event: :close
},
status_only:
true
),
method: :put
,
class:
'btn btn-grouped btn-close js-note-target-close'
,
title:
'Close Issue'
.gray-content-block.second-block.oneline-block
=
render
'votes/votes_block'
,
votable:
@issue
-
if
@closed_by_merge_requests
.
present?
=
render
'projects/issues/closed_by_box'
#notes
=
render
'projects/notes/notes_with_form'
app/views/projects/issues/show.html.haml
View file @
4b7c9c7f
...
...
@@ -37,9 +37,7 @@
Edit
.issue-details.issuable-details
.row
%section
.col-md-9
.detail-page-description.gray-content-block
.detail-page-description.gray-content-block.second-block
%h2
.title
=
markdown
escape_once
(
@issue
.
title
),
pipeline: :single_line
%div
...
...
@@ -54,7 +52,15 @@
.merge-requests
=
render
'merge_requests'
.issue-discussion
.gray-content-block.second-block.oneline-block
=
render
'votes/votes_block'
,
votable:
@issue
-
if
@closed_by_merge_requests
.
present?
=
render
'projects/issues/closed_by_box'
.row
%section
.col-md-9
.issuable-discussion
=
render
'projects/issues/discussion'
%aside
.col-md-3
...
...
app/views/projects/merge_requests/_discussion.html.haml
View file @
4b7c9c7f
...
...
@@ -5,7 +5,4 @@
-
if
@merge_request
.
closed?
=
link_to
'Reopen'
,
merge_request_path
(
@merge_request
,
merge_request:
{
state_event: :reopen
}),
method: :put
,
class:
"btn btn-grouped btn-reopen reopen-mr-link js-note-target-reopen"
,
title:
"Reopen merge request"
.gray-content-block.second-block.oneline-block
=
render
'votes/votes_block'
,
votable:
@merge_request
#notes
=
render
"projects/notes/notes_with_form"
app/views/projects/merge_requests/_show.html.haml
View file @
4b7c9c7f
...
...
@@ -8,8 +8,6 @@
=
render
"projects/merge_requests/show/mr_title"
.merge-request-details.issuable-details
.row
%section
.col-md-9
=
render
"projects/merge_requests/show/mr_box"
.append-bottom-default.mr-source-target.prepend-top-default
-
if
@merge_request
.
open?
...
...
@@ -65,7 +63,17 @@
.tab-content
#notes
.notes.tab-pane.voting_notes
.gray-content-block.second-block.oneline-block
=
render
'votes/votes_block'
,
votable:
@merge_request
.row
%section
.col-md-9
.issuable-discussion
=
render
"projects/merge_requests/discussion"
%aside
.col-md-3
=
render
'shared/issuable/sidebar'
,
issuable:
@merge_request
=
render
'shared/show_aside'
#commits
.commits.tab-pane
-
# This tab is always loaded via AJAX
#builds
.builds.tab-pane
...
...
@@ -76,12 +84,6 @@
.mr-loading-status
=
spinner
%aside
.col-md-3
=
render
'shared/issuable/sidebar'
,
issuable:
@merge_request
=
render
'shared/show_aside'
:javascript
var
merge_request
;
...
...
app/views/projects/merge_requests/show/_mr_box.html.haml
View file @
4b7c9c7f
.detail-page-description.gray-content-block.
middle
-block
.detail-page-description.gray-content-block.
second
-block
%h2
.title
=
markdown
escape_once
(
@merge_request
.
title
),
pipeline: :single_line
...
...
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