Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
3b515b79
Commit
3b515b79
authored
Sep 05, 2014
by
Olga Brani
Browse files
astakos: Fix percentage bar bug in Usage tab
parent
cdd9d177
Changes
1
Hide whitespace changes
Inline
Side-by-side
snf-astakos-app/astakos/im/static/im/js/usage.js
View file @
3b515b79
...
...
@@ -252,7 +252,7 @@ _.extend(UsageView.prototype, {
project_bar_el
.
css
({
width
:
usage
.
user_project_ratio
+
"
%
"
});
bar_value
.
text
(
usage
.
ratio
+
"
%
"
);
var
left
=
usage
.
label_left
+
"
%
"
;
var
left
=
usage
.
label_left
;
bar_value
.
css
({
left
:
left
});
bar_value
.
css
({
color
:
usage
.
label_color
});
el
.
removeClass
(
"
green yellow red
"
);
...
...
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