[PATCH conductor] BZ790825: fix view inconsistencies between haml and jquery-template in images#show (rebased)
Tomas Sedovic
tsedovic at redhat.com
Wed Feb 22 13:14:28 UTC 2012
On 02/22/2012 10:17 AM, ifarkas at redhat.com wrote:
> From: Imre Farkas<ifarkas at redhat.com>
>
> https://bugzilla.redhat.com/show_bug.cgi?id=790825
> ---
> src/app/views/images/show.html.haml | 5 +++++
> 1 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/src/app/views/images/show.html.haml b/src/app/views/images/show.html.haml
> index 82c00f5..631dad1 100644
> --- a/src/app/views/images/show.html.haml
> +++ b/src/app/views/images/show.html.haml
> @@ -134,6 +134,11 @@
> #{t('images.show.failed_build_attempts', :count => 1 )}
> </div>
> {{/if}}
> + {{else !build}}
> + #{path = image_target_images_path('replace_image_id', :target => 'replace_driver')
> + path = path.sub('replace_image_id', '${image[\'uuid\']}')
> + path = path.sub('replace_driver', '${driver}')
> + button_to(t('images.show.build'), path, :method => :post)}
> {{else}}
>
> {{/if}}
ACK
More information about the aeolus-devel
mailing list