Displaying 5 results from an estimated 5 matches for "task_pag".
Did you mean:
  task_page
  
2008 Apr 23
0
self referential (n-n relationship) belongs many controller
...tatuts=Statut.find_all
    render :action => ''list''
  end
  # GETs should be safe (see
http://www.w3.org/2001/tag/doc/whenToUseGet.html)
  verify :method => :post, :only => [ :destroy, :create, :update ],
         :redirect_to => { :action => :list }
  def list
    @task_pages, @tasks = paginate :tasks, :per_page => 50
    @statuts=Statut.find_all
        @sorter = SortingHelper::Sorter.new(self, params[''sort''],
params[''order''], ''id'', ''ASC'')
    search = {:id => @params[:id], :statut_id =&g...
2009 May 13
1
[PATCH server] Cloud UI V1 (readonly).
...# NOTE: maybe this ^^ part could be taken care of behind the scenes?
+                            # Also, needs to be changed to a cloud priv
+                            page, order)
+    @actions = VmTask.get_vm_actions
+    show
+  end
+
+  def show
+    ids = params[:ids]
+    task_page = find_in_params_or_default(:task_page, 1)
+    task_order = find_in_params_or_default(:task_order, "tasks.id")
+    @vm_details = Vm.find(ids) if ids
+    if @vm_details
+      @tasks = VmTask.paginate(:conditions => ["task_target_id in (:ids)",{:ids => ids}],
+...
2009 Jun 29
2
One more fix
This resend includes the rebase, but fixes a problem I just noticed with nil/empty checks.
2009 Jun 29
2
Resend of Cloud UI/service patches
This is a resend of the 2-patch series from a week or so ago, needed to be rebased due to some commits on next
2009 Jun 22
2
Patch series for Cloud Vm Actions
The following two patches should be applied in the order:
 * [PATCH server] Add svc_vm_actions method to VmService.
 * [PATCH server] Cloud UI layer to initiate actions on vms.
The service layer patch should work fine on its own (and not break 
anything), but cloud patch relies on service being there.