deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From martha.c.ch...@gmail.com
Subject [PATCH 2/2] machine discs and vol not explicitely written
Date Tue, 08 Jan 2013 09:34:08 GMT
From: NjeriChelimo <martha.c.chumo@gmail.com>

---
 clients/cimi/views/machines/show.haml |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/clients/cimi/views/machines/show.haml b/clients/cimi/views/machines/show.haml
index c7e5599..9bfb16f 100644
--- a/clients/cimi/views/machines/show.haml
+++ b/clients/cimi/views/machines/show.haml
@@ -32,15 +32,15 @@
 
 - details do
   -row 'ID', @machine.id
-  -row 'Name',@machine.name
+  -row 'Name', @machine.name
   -row 'Description',@machine.description
-  -row 'State',state_span_for(@machine.state)
+  -row 'State', state_span_for(@machine.state)
   -row 'CPU', boolean_span_for(@machine.cpu)
   -row 'RAM', @machine.memory
   -row 'Meters', (@machine.meters.empty? ? "No meters" : ( @machine.meters.each{|meter| meters.id}))
   -row 'Created', @machine.created
-  -row 'Disks', url("/cimi/machines/#{href_to_id @machine.id}/disks")
-  -row 'Volumes', url("/cimi/machines/#{href_to_id @machine.id}/volumes")
+  -row 'Disks', @machine.disks.href
+  -row 'Volumes', @machine.volumes.href
 
 
 %h5 Properties
-- 
1.7.9.5


Mime
View raw message