Sha256: ab1a5800b45cec58822c6db7cdcf2f37368b6dbac995a548aa72213ee3ae6262

Contents?: true

Size: 1.44 KB

Versions: 103

Compression:

Stored size: 1.44 KB

Contents

<% if job_invocation.concurrency_level || job_invocation.time_span ||
    (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.time_span %>
        <li><b><%= _("Set to distribute over") %></b>: <%= job_invocation.time_span %> <%= _('seconds') %><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 %>
    </ul>
    </p>
  </div>
</div>
<% end %>

Version data entries

103 entries across 103 versions & 1 rubygems

Version Path
foreman_remote_execution-8.3.3 app/views/job_invocations/_card_schedule.html.erb
foreman_remote_execution-8.3.2 app/views/job_invocations/_card_schedule.html.erb
foreman_remote_execution-8.3.1 app/views/job_invocations/_card_schedule.html.erb
foreman_remote_execution-10.0.3 app/views/job_invocations/_card_schedule.html.erb
foreman_remote_execution-10.0.2 app/views/job_invocations/_card_schedule.html.erb
foreman_remote_execution-10.0.1 app/views/job_invocations/_card_schedule.html.erb
foreman_remote_execution-10.0.0 app/views/job_invocations/_card_schedule.html.erb
foreman_remote_execution-8.3.0 app/views/job_invocations/_card_schedule.html.erb
foreman_remote_execution-9.1.0 app/views/job_invocations/_card_schedule.html.erb
foreman_remote_execution-8.2.1 app/views/job_invocations/_card_schedule.html.erb
foreman_remote_execution-8.2.0 app/views/job_invocations/_card_schedule.html.erb
foreman_remote_execution-9.0.1 app/views/job_invocations/_card_schedule.html.erb
foreman_remote_execution-9.0.0 app/views/job_invocations/_card_schedule.html.erb
foreman_remote_execution-8.1.2 app/views/job_invocations/_card_schedule.html.erb
foreman_remote_execution-8.1.1 app/views/job_invocations/_card_schedule.html.erb
foreman_remote_execution-8.1.0 app/views/job_invocations/_card_schedule.html.erb
foreman_remote_execution-7.2.2 app/views/job_invocations/_card_schedule.html.erb
foreman_remote_execution-7.2.1 app/views/job_invocations/_card_schedule.html.erb
foreman_remote_execution-7.2.0 app/views/job_invocations/_card_schedule.html.erb
foreman_remote_execution-5.0.8 app/views/job_invocations/_card_schedule.html.erb