incubator-deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tcraw...@redhat.com
Subject [PATCH 3/4] Show the realm_id for the storage volume.
Date Thu, 16 Dec 2010 22:13:14 GMT
From: Tobias Crawley <tcrawley@redhat.com>

---
 server/views/storage_volumes/show.html.haml |    4 ++++
 server/views/storage_volumes/show.xml.haml  |    2 ++
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/server/views/storage_volumes/show.html.haml b/server/views/storage_volumes/show.html.haml
index 7cbe172..fb1ce90 100644
--- a/server/views/storage_volumes/show.html.haml
+++ b/server/views/storage_volumes/show.html.haml
@@ -11,6 +11,10 @@
     %dd
       = "#{@storage_volume.capacity} GB"
   %di
+    %dt Realm
+    %dd
+      = @storage_volume.realm_id
+  %di
     %dt State
     %dd
       = @storage_volume.state
diff --git a/server/views/storage_volumes/show.xml.haml b/server/views/storage_volumes/show.xml.haml
index 0a89192..5275b78 100644
--- a/server/views/storage_volumes/show.xml.haml
+++ b/server/views/storage_volumes/show.xml.haml
@@ -5,6 +5,8 @@
     =@storage_volume.created
   %capacity{ :unit => "GB" }<
     = @storage_volume.capacity
+  %realm_id<
+    = @storage_volume.realm_id
   %state<
     = @storage_volume.state
   - unless @storage_volume.instance_id.nil?
-- 
1.7.3.2


Mime
View raw message