You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by tc...@redhat.com on 2010/12/21 13:26:54 UTC
[PATCH 13/14] Show the realm_id for the storage volume.
From: Tobias Crawley <tc...@gmail.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