Sha256: 56640a205e3dc7911dba8d63c8cf55314d5c123c44c29fc416ba25b405403338

Contents?: true

Size: 1.2 KB

Versions: 66

Compression:

Stored size: 1.2 KB

Contents

<% recurring_logic = task_group.recurring_logic -%>
<table class='<%= table_css_classes('table-condensed') %>'>
  <tr>
    <th>ID</th>
    <td><%= link_to(recurring_logic.id, recurring_logic) %></td>
  </tr>
  <tr>
    <th><%= N_("Cron line") %></th>
    <td><%= recurring_logic.cron_line %></td>
  </tr>
  <tr>
    <th><%= N_("Action") %></th>
    <td><%= format_task_input(recurring_logic.tasks.last) %></td>
  </tr>
  <tr>
    <th><%= N_("Last occurrence") %></th>
    <td><%= recurring_logic.tasks.order(:started_at).where('started_at IS NOT NULL').last.try(:started_at) || '-' %></td>
  </tr>
  <tr>
    <th><%= N_("Next occurrence") %></th>
    <td><%= recurring_logic_next_occurrence recurring_logic %></td>
  </tr>
  <tr>
    <th><%= N_("Current iteration") %></th>
    <td><%= recurring_logic.iteration %></td>
  </tr>
  <tr>
    <th><%= N_("Iteration limit") %></th>
    <td><%= format_recurring_logic_limit recurring_logic.max_iteration %></td>
  </tr>
  <tr>
    <th><%= N_("Repeat until") %></th>
    <td><%= format_recurring_logic_limit recurring_logic.end_time.try(:in_time_zone) %></td>
  </tr>
  <tr>
    <th><%= N_("State") %></th>
    <td><%= recurring_logic_state(recurring_logic) %></td>
  </tr>
</table>

Version data entries

66 entries across 66 versions & 1 rubygems

Version Path
foreman-tasks-4.1.6 app/views/foreman_tasks/task_groups/recurring_logic_task_groups/_recurring_logic_task_group.html.erb
foreman-tasks-4.1.5 app/views/foreman_tasks/task_groups/recurring_logic_task_groups/_recurring_logic_task_group.html.erb
foreman-tasks-4.1.4 app/views/foreman_tasks/task_groups/recurring_logic_task_groups/_recurring_logic_task_group.html.erb
foreman-tasks-4.1.3 app/views/foreman_tasks/task_groups/recurring_logic_task_groups/_recurring_logic_task_group.html.erb
foreman-tasks-3.0.6 app/views/foreman_tasks/task_groups/recurring_logic_task_groups/_recurring_logic_task_group.html.erb
foreman-tasks-5.0.0 app/views/foreman_tasks/task_groups/recurring_logic_task_groups/_recurring_logic_task_group.html.erb
foreman-tasks-4.1.2 app/views/foreman_tasks/task_groups/recurring_logic_task_groups/_recurring_logic_task_group.html.erb
foreman-tasks-4.1.1 app/views/foreman_tasks/task_groups/recurring_logic_task_groups/_recurring_logic_task_group.html.erb
foreman-tasks-4.0.1 app/views/foreman_tasks/task_groups/recurring_logic_task_groups/_recurring_logic_task_group.html.erb
foreman-tasks-4.1.0 app/views/foreman_tasks/task_groups/recurring_logic_task_groups/_recurring_logic_task_group.html.erb
foreman-tasks-3.0.5 app/views/foreman_tasks/task_groups/recurring_logic_task_groups/_recurring_logic_task_group.html.erb
foreman-tasks-4.0.0 app/views/foreman_tasks/task_groups/recurring_logic_task_groups/_recurring_logic_task_group.html.erb
foreman-tasks-3.0.4 app/views/foreman_tasks/task_groups/recurring_logic_task_groups/_recurring_logic_task_group.html.erb
foreman-tasks-2.0.3 app/views/foreman_tasks/task_groups/recurring_logic_task_groups/_recurring_logic_task_group.html.erb
foreman-tasks-3.0.3 app/views/foreman_tasks/task_groups/recurring_logic_task_groups/_recurring_logic_task_group.html.erb
foreman-tasks-3.0.2 app/views/foreman_tasks/task_groups/recurring_logic_task_groups/_recurring_logic_task_group.html.erb
foreman-tasks-3.0.1 app/views/foreman_tasks/task_groups/recurring_logic_task_groups/_recurring_logic_task_group.html.erb
foreman-tasks-3.0.0 app/views/foreman_tasks/task_groups/recurring_logic_task_groups/_recurring_logic_task_group.html.erb
foreman-tasks-2.0.2 app/views/foreman_tasks/task_groups/recurring_logic_task_groups/_recurring_logic_task_group.html.erb
foreman-tasks-1.1.3 app/views/foreman_tasks/task_groups/recurring_logic_task_groups/_recurring_logic_task_group.html.erb