deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@redhat.com
Subject [PATCH core 2/3] Core: Added memory information to hardware_profile label
Date Thu, 17 Jan 2013 11:48:56 GMT
From: Michal Fojtik <mfojtik@redhat.com>


Signed-off-by: Michal fojtik <mfojtik@redhat.com>
---
 server/views/instances/new.html.haml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/views/instances/new.html.haml b/server/views/instances/new.html.haml
index 5814b5a..77881ea 100644
--- a/server/views/instances/new.html.haml
+++ b/server/views/instances/new.html.haml
@@ -90,7 +90,7 @@
         %fieldset{ :'data-role' => :fieldcontain}
           - @hardware_profiles.each do |profile|
             %input{ :type => :radio, :name => 'hwp_id', :value => profile.id, :id
=> profile.name, :'data-theme' => 'b'}/
-            %label{ :for => profile.name, :onclick => "expandHWP('#{profile.name}');"}=profile.name
+            %label{ :for => profile.name, :onclick => "expandHWP('#{profile.name}');"}="#{profile.name}
- #{profile.memory} MB"
             %div{ :'data-role' => :fieldcontain, :id => "property_container_#{profile.name}",
:class => 'hwp_properties'}
 
     - if !@realms.empty?
-- 
1.8.0.2


Mime
View raw message