From: NjeriChelimo <[email protected]>
---
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