Displaying 3 results from an estimated 3 matches for "add_to_smart_pool".
2009 May 27
1
[PATCH server] Bug 478729 - Cannot add vm to smart pool after select one vm
There were two javascript functions with the same name, and the wrong one was being called. I renamed one to avoid conflicts.
Signed-off-by: Scott Seago <sseago at redhat.com>
---
src/app/views/vm/add_to_smart_pool.rhtml | 3 ++-
src/public/javascripts/ovirt.js | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/app/views/vm/add_to_smart_pool.rhtml b/src/app/views/vm/add_to_smart_pool.rhtml
index cdfe92d..161496b 100644
--- a/src/app/views/vm/add_to_smart_pool.rhtml
+++ b...
2009 May 21
1
[PATCH server] Updated look and feel for empty grid views
...gt;
- No hosts found in this pool. <br/><br/>
- <%= image_tag "icon_add_host.png", :style=>"vertical-align:middle;" %>
- <a href="<%= url_for :controller => 'host', :action => 'add_to_smart_pool', :smart_pool_id => @pool %>" rel="facebox[.bolder]">Add first host to this smart pool</a>
+ <h2>There are no hosts in this pool.</h2>
+ <p>Hosts belonging to this smart pool will be listed here.</p>
+ <di...
2009 May 15
0
[PATCH server] final cleanup for service layer refactoring.
...in only one place
-
- # Old pre_addhost
- @pool = Pool.find(params[:hardware_pool_id])
- @parent = @pool.parent
- set_perms(@pool)
- authorize_admin
- # Old addhost
- @hardware_pool = Pool.find(params[:hardware_pool_id])
- render :layout => 'popup'
- end
-
def add_to_smart_pool
@pool = SmartPool.find(params[:smart_pool_id])
render :layout => 'popup'
end
- # FIXME: We implement the standard controller actions, but catch
- # them in filters and kick out friendly warnings that you can't
- # perform them on hosts. Tat's overkill - the only...