Sha256: 284fd4b6370ab445a25405c9594afe230066237fdde1d95b9fffca881cfeda49
Contents?: true
Size: 1.54 KB
Versions: 6
Compression:
Stored size: 1.54 KB
Contents
<% title _("Recurring logics") %> <% title_actions help_path %> <table class="table table-fixed table-bordered table-striped table-condensed"> <thead> <th><%= N_("Cronline") %></th> <th><%= N_("Task count") %></th> <th><%= N_("Action") %></th> <th><%= N_("Last occurrence") %></th> <th><%= N_("Next occurrence") %></th> <th><%= N_("Current iteration") %></th> <th><%= N_("Iteration limit") %></th> <th><%= N_("Repeat until") %></th> <th><%= N_("State") %></th> <th/> </thead> <% @recurring_logics.each do |recurring_logic| %> <tr> <td><%= link_to(recurring_logic.cron_line, foreman_tasks_recurring_logic_path(recurring_logic)) %></td> <td><%= link_to(recurring_logic.tasks.count, foreman_tasks_tasks_url(:search => "task_group.id = #{recurring_logic.task_group.id}")) %></td> <td><%= format_task_input(recurring_logic.tasks.first, true) %></td> <td><%= recurring_logic.tasks.order(:started_at).where('started_at IS NOT NULL').last.try(:started_at) || N_("-") %></td> <td><%= recurring_logic_next_occurrence recurring_logic %></td> <td><%= recurring_logic.iteration %></td> <td><%= format_recurring_logic_limit recurring_logic.max_iteration %></td> <td><%= format_recurring_logic_limit recurring_logic.end_time.try(:in_time_zone) %></td> <td><%= recurring_logic_state(recurring_logic) %></td> <td><%= recurring_logic_action_buttons(recurring_logic) %></td> </tr> <% end %> </table> <%= page_entries_info @recurring_logics %> <%= will_paginate @recurring_logics %>
Version data entries
6 entries across 6 versions & 1 rubygems