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
450a39ed
Commit
450a39ed
authored
Apr 11, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed alignment on issuable new form
Fixes #13802
parent
4087bd16
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
issuable.scss
app/assets/stylesheets/pages/issuable.scss
+6
-0
_form.html.haml
app/views/shared/issuable/_form.html.haml
+3
-3
No files found.
app/assets/stylesheets/pages/issuable.scss
View file @
450a39ed
...
@@ -316,3 +316,9 @@
...
@@ -316,3 +316,9 @@
color
:
#8c8c8c
;
color
:
#8c8c8c
;
}
}
}
}
.issuable-form-padding-top
{
@media
(
min-width
:
$screen-sm-min
)
{
padding-top
:
7px
;
}
}
app/views/shared/issuable/_form.html.haml
View file @
450a39ed
...
@@ -70,13 +70,13 @@
...
@@ -70,13 +70,13 @@
-
if
can?
current_user
,
:admin_milestone
,
issuable
.
project
-
if
can?
current_user
,
:admin_milestone
,
issuable
.
project
=
link_to
'Create new milestone'
,
new_namespace_project_milestone_path
(
issuable
.
project
.
namespace
,
issuable
.
project
),
target: :blank
=
link_to
'Create new milestone'
,
new_namespace_project_milestone_path
(
issuable
.
project
.
namespace
,
issuable
.
project
),
target: :blank
.form-group
.form-group
-
has_labels
=
issuable
.
project
.
labels
.
any?
=
f
.
label
:label_ids
,
"Labels"
,
class:
'control-label'
=
f
.
label
:label_ids
,
"Labels"
,
class:
'control-label'
.col-sm-10
.col-sm-10
{
class:
(
'issuable-form-padding-top'
if
!
has_labels
)
}
-
if
issuable
.
project
.
labels
.
any?
-
if
has_labels
=
f
.
collection_select
:label_ids
,
issuable
.
project
.
labels
.
all
,
:id
,
:name
,
=
f
.
collection_select
:label_ids
,
issuable
.
project
.
labels
.
all
,
:id
,
:name
,
{
selected:
issuable
.
label_ids
},
multiple:
true
,
class:
'select2'
,
data:
{
placeholder:
"Select labels"
}
{
selected:
issuable
.
label_ids
},
multiple:
true
,
class:
'select2'
,
data:
{
placeholder:
"Select labels"
}
-
else
-
else
.prepend-top-10
%span
.light
No labels yet.
%span
.light
No labels yet.
-
if
can?
current_user
,
:admin_label
,
issuable
.
project
-
if
can?
current_user
,
:admin_label
,
issuable
.
project
...
...
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