Displaying 2 results from an estimated 2 matches for "hosts_per_pag".
Did you mean:
hosts_per_page
2009 Sep 08
1
[PATCH server] fix live migration
...55d..698dc95 100644
--- a/src/app/views/host/_grid.rhtml
+++ b/src/app/views/host/_grid.rhtml
@@ -1,7 +1,7 @@
<%= render :partial => 'graph/load_graph.rhtml' %>
<% pool_controller = 'hardware' unless (defined? pool_controller) and !(pool_controller.nil?) %>
-<% hosts_per_page.nil? ? hosts_per_page = 40: hosts_per_page = hosts_per_page %>
+<% hosts_per_page = 40 if !defined?(hosts_per_page) or hosts_per_page.nil? %>
<% if (hwpool.nil? or
((hwpool.is_a? HardwarePool) and (hwpool.hosts.size > hosts_per_page)) or
((hwpool.is_a? SmartPool) an...
2009 May 15
0
[PATCH server] final cleanup for service layer refactoring.
...:hwpool => nil,
- :exclude_pool => @hardware_pool.id,
+ :exclude_pool => @pool.id,
:exclude_host => nil,
:checkboxes => true,
:on_select => "load_widget_select",
@@ -20,8 +20,8 @@
:hosts_per_page => 10} %>
</div>
-<%= popup_footer("add_hosts('#{url_for :controller => "hardware",
+<%= popup_footer("add_hosts('#{url_for :controller => "hardware",
:action => "add_hosts",
-...