Hi - good catch and we should definitely add the links for the machine
disks and volumes collections. However, right now clicking on those
gives 404 (probably missing templates). Can we add those too before
making this fix?

marios

On 08/01/13 11:34, [email protected] wrote:
> 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
> 

Reply via email to