Sha256: 163c85f5cda33ea5348beb48ac78b62e8b1ead3de9b3da0baff8636843b1004b

Contents?: true

Size: 1.43 KB

Versions: 23

Compression:

Stored size: 1.43 KB

Contents

<% if job_invocation.concurrency_level ||
    (job_invocation.task && (job_invocation.task.delayed? || job_invocation.task.recurring?)) ||
    job_invocation.execution_timeout_interval.present? %>
<div class="card-pf card-pf-accented">
  <div class="card-pf-title">
    <h2 style="height: 18px;" class="card-pf-title">
      <%= _('Schedule') %>
    </h2>
  </div>
  <div class="card-pf-body">
    <p>
    <ul>
      <% if job_invocation.concurrency_level %>
        <li><b><%= _("Concurrency level limited to") %></b>: <%= job_invocation.concurrency_level %> <%= _('tasks at a time') %><br></li>
      <% end %>
      <% if job_invocation.start_before %>
        <li><b><%= _("Scheduled to start before") %></b>: <%= job_invocation.start_before %><br></li>
      <% end %>
      <% if job_invocation.task && (job_invocation.task.delayed? || job_invocation.task.recurring?) %>
        <li><b><%= _("Scheduled to start at") %></b>: <%= job_invocation.task.start_at.try(:in_time_zone) %><br></li>
      <% end %>
      <% if job_invocation.execution_timeout_interval.present? %>
        <li><b><%= _("Timeout to kill after") %></b>: <%= job_invocation.execution_timeout_interval %> <%= _('seconds') %><br></li>
        <% end %>
      <% if job_invocation.time_to_pickup.present? %>
        <li><b><%= _("Time to pickup") %></b>: <%= job_invocation.time_to_pickup %> <%= _('seconds') %><br>
        </li>
      <% end %>
    </ul>
    </p>
  </div>
</div>
<% end %>

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
foreman_remote_execution-14.1.1 app/views/job_invocations/_card_schedule.html.erb
foreman_remote_execution-14.1.0 app/views/job_invocations/_card_schedule.html.erb
foreman_remote_execution-14.0.2 app/views/job_invocations/_card_schedule.html.erb
foreman_remote_execution-14.0.1 app/views/job_invocations/_card_schedule.html.erb
foreman_remote_execution-13.2.6 app/views/job_invocations/_card_schedule.html.erb
foreman_remote_execution-14.0.0 app/views/job_invocations/_card_schedule.html.erb
foreman_remote_execution-13.2.5 app/views/job_invocations/_card_schedule.html.erb
foreman_remote_execution-13.2.4 app/views/job_invocations/_card_schedule.html.erb
foreman_remote_execution-13.2.3 app/views/job_invocations/_card_schedule.html.erb
foreman_remote_execution-13.2.2 app/views/job_invocations/_card_schedule.html.erb
foreman_remote_execution-12.0.7 app/views/job_invocations/_card_schedule.html.erb
foreman_remote_execution-13.2.1 app/views/job_invocations/_card_schedule.html.erb
foreman_remote_execution-13.2.0 app/views/job_invocations/_card_schedule.html.erb
foreman_remote_execution-13.0.0 app/views/job_invocations/_card_schedule.html.erb
foreman_remote_execution-12.0.5 app/views/job_invocations/_card_schedule.html.erb
foreman_remote_execution-12.0.4 app/views/job_invocations/_card_schedule.html.erb
foreman_remote_execution-12.0.1 app/views/job_invocations/_card_schedule.html.erb
foreman_remote_execution-12.0.2 app/views/job_invocations/_card_schedule.html.erb
foreman_remote_execution-11.1.3 app/views/job_invocations/_card_schedule.html.erb
foreman_remote_execution-12.0.0 app/views/job_invocations/_card_schedule.html.erb