From: Michal Fojtik <[email protected]>
Signed-off-by: Michal fojtik <[email protected]> --- server/views/storage_volumes/show.html.haml | 1 + server/views/storage_volumes/show.xml.haml | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/server/views/storage_volumes/show.html.haml b/server/views/storage_volumes/show.html.haml index aabdd85..1c1f458 100644 --- a/server/views/storage_volumes/show.html.haml +++ b/server/views/storage_volumes/show.html.haml @@ -4,6 +4,7 @@ %div{ :'data-role' => :content, :'data-theme' => 'c'} %ul{ :'data-role' => :listview , :'data-inset' => :true, :'data-divider-theme' => 'd'} %li{ :'data-role' => 'list-divider'} Name + %p{ :'data-role' => 'fieldcontain'}=@storage_volume.id %li %p{ :'data-role' => 'fieldcontain'}=@storage_volume.id %li{ :'data-role' => 'list-divider'} Created diff --git a/server/views/storage_volumes/show.xml.haml b/server/views/storage_volumes/show.xml.haml index 440609b..f9f5f25 100644 --- a/server/views/storage_volumes/show.xml.haml +++ b/server/views/storage_volumes/show.xml.haml @@ -9,9 +9,8 @@ - if @storage_volume.kind %kind< = @storage_volume.kind - - if @storage_volume.name - %name< - = @storage_volume.name + %name< + = @storage_volume.name || @storage_volume.id - if @storage_volume.device %device< = @storage_volume.device -- 1.7.10
