Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
circlestack
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
9af39473
authored
Mar 17, 2014
by
Kálmán Viktor
Committed by
Guba Sándor
Mar 18, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: handle None disk sizes
parent
5e7ad767
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
circle/dashboard/templates/dashboard/_vm-create-1.html
+1
-1
No files found.
circle/dashboard/templates/dashboard/_vm-create-1.html
View file @
9af39473
...
...
@@ -32,7 +32,7 @@
<li>
<i
class=
"icon-file"
></i>
{% trans "Disks" %}
<span
style=
"float: right; text-align: right;"
>
{% for d in t.disks.all %}{{ d.name }} ({
{ d.size|filesize }
}){% if not forloop.last %}, {% endif %}{% endfor %}
{% for d in t.disks.all %}{{ d.name }} ({
% if d.size %}{{ d.size|filesize }}{% endif %
}){% if not forloop.last %}, {% endif %}{% endfor %}
</span>
<div
style=
"clear: both;"
></div>
</li>
...
...
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