Sha256: 359bf4f19b33d8d06b4cf416c5bad20592c842bacc99928ed9b7d324203c2a2b
Contents?: true
Size: 1.46 KB
Versions: 31
Compression:
Stored size: 1.46 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><%= _("Cron line") %></th> <td><%= recurring_logic.cron_line %></td> </tr> <tr> <th><%= _("Action") %></th> <td><%= format_task_input(recurring_logic.tasks.last) %></td> </tr> <tr> <th><%= _("Last occurrence") %></th> <td><%= recurring_logic.tasks.order(:started_at).where('started_at IS NOT NULL').last.try(:started_at) || '-' %></td> </tr> <tr> <th><%= _("Next occurrence") %></th> <td><%= recurring_logic_next_occurrence recurring_logic %></td> </tr> <tr> <th><%= _("Current iteration") %></th> <td><%= recurring_logic.iteration %></td> </tr> <tr> <th><%= _("Iteration limit") %></th> <td><%= format_recurring_logic_limit recurring_logic.max_iteration %></td> </tr> <tr> <th><%= _("Repeat until") %></th> <td><%= format_recurring_logic_limit recurring_logic.end_time.try(:in_time_zone) %></td> </tr> <tr> <th><%= _("State") %></th> <td><%= recurring_logic_state(recurring_logic) %></td> </tr> <tr> <th><%= _("Purpose") %></th> <td><%= recurring_logic.purpose %></td> </tr> <tr> <th><%= _("Task count") %></th> <td><%= link_to(task_group.tasks.count, foreman_tasks_tasks_url(:search => "task_group.id = #{task_group.id}")) %></td> </tr> </table>
Version data entries
31 entries across 31 versions & 1 rubygems