deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "marios@redhat.com" <mandr...@redhat.com>
Subject Re: [PATCH 2/2] machine discs and vol not explicitely written
Date Tue, 08 Jan 2013 10:07:50 GMT
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, martha.c.chumo@gmail.com wrote:
> 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
> 


Mime
View raw message