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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
a886792d
Commit
a886792d
authored
Jun 28, 2016
by
Luke "Jared" Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved weight under labels
parent
8fe819da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
app/views/shared/issuable/_form.html.haml
app/views/shared/issuable/_form.html.haml
+7
-7
No files found.
app/views/shared/issuable/_form.html.haml
View file @
a886792d
...
...
@@ -71,13 +71,6 @@
-
if
can?
current_user
,
:admin_milestone
,
issuable
.
project
%div
=
link_to
'Create new milestone'
,
new_namespace_project_milestone_path
(
issuable
.
project
.
namespace
,
issuable
.
project
),
target: :blank
,
class:
"prepend-top-5 inline"
-
if
issuable
.
respond_to?
(
:weight
)
.form-group
=
f
.
label
:label_ids
,
class:
"control-label
#{
"col-lg-4"
if
has_due_date
}
"
do
Weight
.col-sm-10
{
class:
(
"col-lg-8"
if
has_due_date
)
}
=
f
.
select
:weight
,
issues_weight_options
(
issuable
.
weight
,
edit:
true
),
{
include_blank:
true
},
{
class:
'select2 js-select2'
,
data:
{
placeholder:
"Select weight"
}}
.form-group
-
has_labels
=
issuable
.
project
.
labels
.
any?
=
f
.
label
:label_ids
,
"Labels"
,
class:
"control-label
#{
"col-lg-4"
if
has_due_date
}
"
...
...
@@ -91,6 +84,13 @@
-
if
can?
current_user
,
:admin_label
,
issuable
.
project
%div
=
link_to
'Create new label'
,
new_namespace_project_label_path
(
issuable
.
project
.
namespace
,
issuable
.
project
),
target: :blank
,
class:
"prepend-top-5 inline"
-
if
issuable
.
respond_to?
(
:weight
)
.form-group
=
f
.
label
:label_ids
,
class:
"control-label
#{
"col-lg-4"
if
has_due_date
}
"
do
Weight
.col-sm-10
{
class:
(
"col-lg-8"
if
has_due_date
)
}
=
f
.
select
:weight
,
issues_weight_options
(
issuable
.
weight
,
edit:
true
),
{
include_blank:
true
},
{
class:
'select2 js-select2'
,
data:
{
placeholder:
"Select weight"
}}
-
if
has_due_date
.col-lg-6
.form-group
...
...
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