Sha256: e9cdec67325da9405a63d578f1b0d5c1f5f3973fc909d09f5eafe586b33b40cb

Contents?: true

Size: 859 Bytes

Versions: 53

Compression:

Stored size: 859 Bytes

Contents

object @task if @task

extends 'foreman_tasks/api/tasks/show'

attributes :parent_task_id, :start_at, :start_before, :external_id
node(:action) { @task.action }
node(:execution_plan) { { state: @task.execution_plan.state, cancellable: @task.execution_plan.cancellable? } }
node(:failed_steps) { @task.input_output_failed_steps }
node(:running_steps) { @task.input_output_running_steps }
node(:help) { troubleshooting_info_text }
node(:has_sub_tasks) { @task.sub_tasks.any? }

node(:locks) do
  @task.locks.map { |lock| partial('foreman_tasks/api/locks/show', :object => lock) }
end
node(:links) do
  @task.links.map { |link| partial('foreman_tasks/api/locks/show', :object => link, :locals => { :link => true }) }
end
node(:username_path) { username_link_task(@task.owner, @task.username) }
node(:dynflow_enable_console) { Setting['dynflow_enable_console'] }

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
foreman-tasks-10.0.2 app/views/foreman_tasks/api/tasks/details.json.rabl
foreman-tasks-10.0.1 app/views/foreman_tasks/api/tasks/details.json.rabl
foreman-tasks-10.0.0 app/views/foreman_tasks/api/tasks/details.json.rabl
foreman-tasks-9.2.3 app/views/foreman_tasks/api/tasks/details.json.rabl
foreman-tasks-9.2.2 app/views/foreman_tasks/api/tasks/details.json.rabl
foreman-tasks-9.2.1 app/views/foreman_tasks/api/tasks/details.json.rabl
foreman-tasks-9.2.0 app/views/foreman_tasks/api/tasks/details.json.rabl
foreman-tasks-9.1.1 app/views/foreman_tasks/api/tasks/details.json.rabl
foreman-tasks-9.0.4 app/views/foreman_tasks/api/tasks/details.json.rabl
foreman-tasks-9.1.0 app/views/foreman_tasks/api/tasks/details.json.rabl
foreman-tasks-9.0.2 app/views/foreman_tasks/api/tasks/details.json.rabl
foreman-tasks-9.0.1 app/views/foreman_tasks/api/tasks/details.json.rabl
foreman-tasks-8.3.3 app/views/foreman_tasks/api/tasks/details.json.rabl
foreman-tasks-9.0.0 app/views/foreman_tasks/api/tasks/details.json.rabl
foreman-tasks-8.2.1 app/views/foreman_tasks/api/tasks/details.json.rabl
foreman-tasks-8.1.4 app/views/foreman_tasks/api/tasks/details.json.rabl
foreman-tasks-8.3.2 app/views/foreman_tasks/api/tasks/details.json.rabl
foreman-tasks-8.3.1 app/views/foreman_tasks/api/tasks/details.json.rabl
foreman-tasks-8.1.3 app/views/foreman_tasks/api/tasks/details.json.rabl
foreman-tasks-8.3.0 app/views/foreman_tasks/api/tasks/details.json.rabl