[PATCH conductor] Fix a typo in images#show
Jozef Zigmund
jzigmund at redhat.com
Mon Feb 6 14:26:45 UTC 2012
On Monday 06 February 2012 14:08:53 ifarkas at redhat.com wrote:
> From: Imre Farkas <ifarkas at redhat.com>
>
> A typo already fixed in the haml view but left in the jquery template
> ---
> src/app/views/images/show.html.haml | 8 ++++----
> 1 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/src/app/views/images/show.html.haml
> b/src/app/views/images/show.html.haml index 7e777c0..6005aae 100644
> --- a/src/app/views/images/show.html.haml
> +++ b/src/app/views/images/show.html.haml
> @@ -115,11 +115,11 @@
> button_to(t('images.show.build'), path, :method => :post)}
> {{if failed_build_counts[driver] > 1}}
> <div class="light">
> - #{t('images.show.failed_build_attemts', :count =>
> '${failed_build_counts[driver]}' )} +
> #{t('images.show.failed_build_attempts', :count =>
> '${failed_build_counts[driver]}')} </div>
> {{else failed_build_counts[driver] == 1}}
> <div class="light">
> - #{t('images.show.failed_build_attemts', :count => 1 )}
> + #{t('images.show.failed_build_attempts', :count => 1 )}
> </div>
> {{/if}}
> {{else}}
> @@ -175,9 +175,9 @@
> path = path.sub('replace_account_id',
> '${account[\'id\']}') button_to(t('images.show.upload'), path, :method =>
> :post, :class => 'upload_image')} {{if failed_push_counts[account['id']] >
> 1}} - #{t('images.show.failed_push_attemts',
> :count => '${failed_push_counts[account[\'id\']]}' )} +
> #{t('images.show.failed_push_attempts', :count =>
> '${failed_push_counts[account[\'id\']]}' )} {{else
> failed_push_counts[account['id']] == 1}} -
> #{t('images.show.failed_push_attemts', :count => 1 )} +
> #{t('images.show.failed_push_attempts', :count => 1 )} {{/if}}
> {{else provider_images[account['id']]}}
> #{path =
> image_provider_image_path('replace_image_id', 'replace_provider_image_id')
ACK.
More information about the aeolus-devel
mailing list