search for: nolayout

Displaying 3 results from an estimated 3 matches for "nolayout".

2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
..._error_page(title, msg) } - format.json { render :json => json_error_hash(msg, status) } - format.xml { render :xml => xml_errors(msg), :status => status } - end - end - - def html_error_page(title, msg) - @title = title - @errmsg = msg - @ajax = params[:ajax] - @nolayout = params[:nolayout] - if @layout - render :layout => @layout - elsif @ajax - render :template => 'layouts/popup-error', :layout => 'tabs-and-content' - elsif @nolayout - render :template => 'layouts/popup-error', :layout => 'help-an...
2009 May 15
0
[PATCH server] use service layer for Network controller.
...end - - def pre_list - @networks = Network.find(:all) - authorize_admin - end - - def list - respond_to do |format| - format.html { - render :layout => 'tabs-and-content' if params[:ajax] - render :layout => 'help-and-content' if params[:nolayout] - } - format.xml { - render :xml => @pool.to_xml(XML_OPTS) - } - end - end - - def networks_json - json_list(Network.find(:all), [:id, :name, :type, [:boot_type, :label]]) - end + def list + svc_list() + respond_to do |format| + format.html {...
2009 Jul 20
9
Upgrade server to run on Rails 2.3.2/F11
Note that one of the 8 patches (#6) will be sent separately in reply to this email, as some of the replaced lines are too long, so git won't let me send the email. However, there is nothing wrong with that patch, and it should be applied in the sequence listed below. Note also that I assume this will be tested on a clean f11 install, rather than an upgrade of an existing ovirt server