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
71b2713c
Commit
71b2713c
authored
Mar 24, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix font weight and color for issue weight sidebar section
parent
d893b691
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
app/assets/javascripts/weight_select.js
app/assets/javascripts/weight_select.js
+2
-2
app/views/shared/issuable/_sidebar.html.haml
app/views/shared/issuable/_sidebar.html.haml
+3
-3
No files found.
app/assets/javascripts/weight_select.js
View file @
71b2713c
...
...
@@ -30,9 +30,9 @@
$loading
.
fadeOut
();
$selectbox
.
hide
();
if
(
data
.
weight
!=
null
)
{
$value
.
html
(
data
.
weight
);
$value
.
html
(
`<strong>
${
data
.
weight
}
</strong>`
);
}
else
{
$value
.
html
(
'
None
'
);
$value
.
html
(
'
<span class="no-value">None</span>
'
);
}
return
$sidebarCollapsedValue
.
html
(
data
.
weight
);
});
...
...
app/views/shared/issuable/_sidebar.html.haml
View file @
71b2713c
...
...
@@ -162,11 +162,11 @@
=
icon
(
'spinner spin'
,
class:
'block-loading'
)
-
if
can?
(
current_user
,
:"admin_
#{
issuable
.
to_ability_name
}
"
,
@project
)
=
link_to
'Edit'
,
'#'
,
class:
'edit-link pull-right'
.value.
bold.
hide-collapsed
.value.hide-collapsed
-
if
issuable
.
weight
=
issuable
.
weight
%strong
=
issuable
.
weight
-
else
.light
None
%span
.no-value
None
.selectbox.hide-collapsed
=
weight_dropdown_tag
(
issuable
,
title:
'Change weight'
,
data:
{
field_name:
'weight'
,
issue_update:
"
#{
issuable_json_path
(
issuable
)
}
"
,
ability_name:
"
#{
issuable
.
to_ability_name
}
"
})
do
%ul
...
...
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