Add API and UI support for displaying image locations

This commit is contained in:
Joseph Schorr 2014-06-24 18:48:42 -04:00
parent da12b940a9
commit 76165b5d2b
16 changed files with 248 additions and 7 deletions

View file

@ -23,6 +23,7 @@ def image_view(image):
'ancestors': image.ancestors,
'dbid': image.id,
'size': extended_props.image_size,
'locations': [l.location.name for l in image.storage.locations]
}