9043: Complete support for editing basic parameter types.
[arvados.git] / apps / workbench / app / models / proxy_work_unit.rb
index f672c8c64cea79c46e7dc99b8f1e37a3ce09c3a6..feab5d8eb4a22e599bc328978d2ad5e0dcae4781 100644 (file)
@@ -23,6 +23,10 @@ class ProxyWorkUnit < WorkUnit
     get(:modified_by_user_uuid)
   end
 
+  def owner_uuid
+    get(:owner_uuid)
+  end
+
   def created_at
     t = get(:created_at)
     t = Time.parse(t) if (t.is_a? String)
@@ -51,6 +55,8 @@ class ProxyWorkUnit < WorkUnit
     state = get(:state)
     if ["Running", "RunningOnServer", "RunningOnClient"].include? state
       "Running"
+    elsif state == 'New'
+      "Not started"
     else
       state
     end
@@ -322,6 +328,10 @@ class ProxyWorkUnit < WorkUnit
     resp
   end
 
+  def log_object_uuids
+    [uuid]
+  end
+
   protected
 
   def get key, obj=@proxied