From: Tomas Sedovic tomas@sedovic.cz
https://bugzilla.redhat.com/show_bug.cgi?id=753946
The selection dropdown is shown only when there are realms to be selected. --- src/app/views/deployments/_overview.html.haml | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/app/views/deployments/_overview.html.haml b/src/app/views/deployments/_overview.html.haml index bdc04e3..4c11e65 100644 --- a/src/app/views/deployments/_overview.html.haml +++ b/src/app/views/deployments/_overview.html.haml @@ -26,8 +26,11 @@ = link_to @deployable.xml_filename, catalog_deployable_definition_path(@deployable.catalogs.first, @deployable) ⇒
- %h3= t('.image_ids') + - if @realms.any? + %h3= t('realms.index.realm') + = select :deployment, :frontend_realm_id, @realms.map{|r| [r.name, r.id]}, :include_blank => true
+ %h3= t('.image_ids') %ul - @deployment.deployable_xml.assemblies.each do |assembly| %li.image-id
On 12/22/2011 03:14 PM, tsedovic@redhat.com wrote:
From: Tomas Sedovictomas@sedovic.cz
https://bugzilla.redhat.com/show_bug.cgi?id=753946
The selection dropdown is shown only when there are realms to be selected.
src/app/views/deployments/_overview.html.haml | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/app/views/deployments/_overview.html.haml b/src/app/views/deployments/_overview.html.haml index bdc04e3..4c11e65 100644 --- a/src/app/views/deployments/_overview.html.haml +++ b/src/app/views/deployments/_overview.html.haml @@ -26,8 +26,11 @@ = link_to @deployable.xml_filename, catalog_deployable_definition_path(@deployable.catalogs.first, @deployable) ⇒
%h3= t('.image_ids')
- if @realms.any?
%h3= t('realms.index.realm')
= select :deployment, :frontend_realm_id, @realms.map{|r| [r.name, r.id]}, :include_blank => true
%h3= t('.image_ids') %ul - @deployment.deployable_xml.assemblies.each do |assembly| %li.image-id
ACK
aeolus-devel@lists.fedorahosted.org