Commit 110b86b1 authored by Christos Stavrakakis's avatar Christos Stavrakakis
Browse files

ui: Truncate image name in images list view

parent e0e0b2a7
...@@ -554,7 +554,7 @@ ...@@ -554,7 +554,7 @@
'<span class="prepend"></span>' + '<span class="prepend"></span>' +
'{3}</span>' + '{3}</span>' +
'<p>{4}</p>' + '<p>{4}</p>' +
'</li>').format(img.escape("name"), '</li>').format(_.escape(util.truncate(img.get("name"), 37)),
img.id, img.id,
snf.ui.helpers.os_icon_tag(img.escape("OS")), snf.ui.helpers.os_icon_tag(img.escape("OS")),
_.escape(img.get_readable_size()), _.escape(img.get_readable_size()),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment