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
e2b6e9c3
Commit
e2b6e9c3
authored
Jan 30, 2016
by
Jacob Schatz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add ajax calls to return JSON
Fix subtitles on minimize. Fix styles for show.
parent
541fcc37
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
6 deletions
+14
-6
mobile.scss
app/assets/stylesheets/framework/mobile.scss
+1
-1
sidebar.scss
app/assets/stylesheets/framework/sidebar.scss
+9
-0
issues_controller.rb
app/controllers/projects/issues_controller.rb
+3
-1
show.html.haml
app/views/projects/issues/show.html.haml
+0
-2
_show.html.haml
app/views/projects/merge_requests/_show.html.haml
+0
-1
_sidebar.html.haml
app/views/shared/issuable/_sidebar.html.haml
+1
-1
No files found.
app/assets/stylesheets/framework/mobile.scss
View file @
e2b6e9c3
...
...
@@ -116,7 +116,7 @@
display
:
none
;
}
aside
{
aside
:not
(
.right-sidebar
)
{
display
:
none
;
}
...
...
app/assets/stylesheets/framework/sidebar.scss
View file @
e2b6e9c3
...
...
@@ -284,6 +284,15 @@
@include
collapsed-sidebar
;
}
.page-gutter
{
&
.right-sidebar-collapsed
{
@include
collapsed-gutter
;
}
&
.right-sidebar-expanded
{
@include
expanded-gutter
;
}
}
.collapse-nav
{
display
:
none
;
}
...
...
app/controllers/projects/issues_controller.rb
View file @
e2b6e9c3
...
...
@@ -98,7 +98,9 @@ class Projects::IssuesController < Projects::ApplicationController
format
.
json
do
render
json:
{
saved:
@issue
.
valid?
,
assignee_avatar_url:
@issue
.
assignee
.
try
(
:avatar_url
)
assignee_avatar_url:
@issue
.
assignee
.
try
(
:avatar_url
),
milestone:
@issue
.
milestone
.
title
,
labels:
@issue
.
labels
.
pluck
(
:id
,
:title
,
:color
)
}
end
end
...
...
app/views/projects/issues/show.html.haml
View file @
e2b6e9c3
...
...
@@ -57,6 +57,5 @@
%section
.col-md-12
.issuable-discussion
=
render
'projects/issues/discussion'
=
render
'shared/show_aside'
=
render
'shared/issuable/sidebar'
,
issuable:
@issue
\ No newline at end of file
app/views/projects/merge_requests/_show.html.haml
View file @
e2b6e9c3
...
...
@@ -73,7 +73,6 @@
%section
.col-md-12
.issuable-discussion
=
render
"projects/merge_requests/discussion"
=
render
'shared/show_aside'
#commits
.commits.tab-pane
-
# This tab is always loaded via AJAX
...
...
app/views/shared/issuable/_sidebar.html.haml
View file @
e2b6e9c3
...
...
@@ -23,7 +23,7 @@
%a
.btn.btn-default.disabled
{
href:
'#'
}
Next
=
form_for
[
@project
.
namespace
.
becomes
(
Namespace
),
@project
,
issuable
],
remote:
true
,
html:
{
class:
'issuable-context-form inline-update js-issuable-update'
}
do
|
f
|
=
form_for
[
@project
.
namespace
.
becomes
(
Namespace
),
@project
,
issuable
],
remote:
true
,
html:
{
class:
'issuable-context-form inline-update js-issuable-update'
,
'data-type'
=>
'json'
}
do
|
f
|
.block.assignee
.sidebar-collapsed-icon
-
if
issuable
.
assignee
...
...
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