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
...
@@ -18,7 +18,7 @@ class @IssuableContext
$
(
'.issuable-affix'
).
affix
offset
:
$
(
'.issuable-affix'
).
affix
offset
:
top
:
->
top
:
->
@
top
=
(
$
(
'.issuable-affix'
).
offset
().
top
-
6
0
)
@
top
=
(
$
(
'.issuable-affix'
).
offset
().
top
-
7
0
)
bottom
:
->
bottom
:
->
@
bottom
=
$
(
'.footer'
).
outerHeight
(
true
)
@
bottom
=
$
(
'.footer'
).
outerHeight
(
true
)
...
...
app/assets/stylesheets/pages/issuable.scss
View file @
4b7c9c7f
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
&
.affix
{
&
.affix
{
position
:
fixed
;
position
:
fixed
;
top
:
6
0px
;
top
:
7
0px
;
margin-right
:
35px
;
margin-right
:
35px
;
}
}
}
}
...
@@ -39,16 +39,9 @@
...
@@ -39,16 +39,9 @@
section
{
section
{
border-right
:
1px
solid
$border-white-light
;
border-right
:
1px
solid
$border-white-light
;
>
.tab-content
{
.issuable-discussion
{
margin-right
:
1px
;
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 {
...
@@ -144,10 +144,3 @@ form.edit-issue {
.issue-form
.select2-container
{
.issue-form
.select2-container
{
width
:
250px
!
important
;
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 @@
...
@@ -5,11 +5,5 @@
-
else
-
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'
=
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
#notes
=
render
'projects/notes/notes_with_form'
=
render
'projects/notes/notes_with_form'
app/views/projects/issues/show.html.haml
View file @
4b7c9c7f
...
@@ -37,9 +37,7 @@
...
@@ -37,9 +37,7 @@
Edit
Edit
.issue-details.issuable-details
.issue-details.issuable-details
.row
.detail-page-description.gray-content-block.second-block
%section
.col-md-9
.detail-page-description.gray-content-block
%h2
.title
%h2
.title
=
markdown
escape_once
(
@issue
.
title
),
pipeline: :single_line
=
markdown
escape_once
(
@issue
.
title
),
pipeline: :single_line
%div
%div
...
@@ -54,7 +52,15 @@
...
@@ -54,7 +52,15 @@
.merge-requests
.merge-requests
=
render
'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'
=
render
'projects/issues/discussion'
%aside
.col-md-3
%aside
.col-md-3
...
...
app/views/projects/merge_requests/_discussion.html.haml
View file @
4b7c9c7f
...
@@ -5,7 +5,4 @@
...
@@ -5,7 +5,4 @@
-
if
@merge_request
.
closed?
-
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"
=
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"
#notes
=
render
"projects/notes/notes_with_form"
app/views/projects/merge_requests/_show.html.haml
View file @
4b7c9c7f
...
@@ -8,8 +8,6 @@
...
@@ -8,8 +8,6 @@
=
render
"projects/merge_requests/show/mr_title"
=
render
"projects/merge_requests/show/mr_title"
.merge-request-details.issuable-details
.merge-request-details.issuable-details
.row
%section
.col-md-9
=
render
"projects/merge_requests/show/mr_box"
=
render
"projects/merge_requests/show/mr_box"
.append-bottom-default.mr-source-target.prepend-top-default
.append-bottom-default.mr-source-target.prepend-top-default
-
if
@merge_request
.
open?
-
if
@merge_request
.
open?
...
@@ -65,7 +63,17 @@
...
@@ -65,7 +63,17 @@
.tab-content
.tab-content
#notes
.notes.tab-pane.voting_notes
#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"
=
render
"projects/merge_requests/discussion"
%aside
.col-md-3
=
render
'shared/issuable/sidebar'
,
issuable:
@merge_request
=
render
'shared/show_aside'
#commits
.commits.tab-pane
#commits
.commits.tab-pane
-
# This tab is always loaded via AJAX
-
# This tab is always loaded via AJAX
#builds
.builds.tab-pane
#builds
.builds.tab-pane
...
@@ -76,12 +84,6 @@
...
@@ -76,12 +84,6 @@
.mr-loading-status
.mr-loading-status
=
spinner
=
spinner
%aside
.col-md-3
=
render
'shared/issuable/sidebar'
,
issuable:
@merge_request
=
render
'shared/show_aside'
:javascript
:javascript
var
merge_request
;
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
%h2
.title
=
markdown
escape_once
(
@merge_request
.
title
),
pipeline: :single_line
=
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