Sha256: 6872f005b5fc5eb5595a2cf30f7cbb0b07a3158c3947102a65f8eb1530164507
Contents?: true
Size: 772 Bytes
Versions: 4
Compression:
Stored size: 772 Bytes
Contents
<h4 class="header"><%=_("Task Status")%></h4> <table class="table table-striped"> <tr> <th><%= _("State") %></th> <th><%= _("Result") %></th> <th><%= _("No. of Tasks") %></th> <th><%= _("Last start time") %></th> </tr> <% ForemanTasks::Task::Summarizer.new.summarize_by_status.each do |result| %> <tr class="<%= ForemanTasks::Task::StatusExplicator.new.is_erroneous(result) ? 'text-danger' : '' %>"> <td><%= result.state %></td> <td><%= result.result %></td> <td><%= link_to result.count, main_app.foreman_tasks_tasks_path(:search => "state=#{result.state}&result=#{result.result}") %></td> <td><%= result.started_at ? (_('%s ago') % time_ago_in_words(result.started_at)) : _('N/A') %></td> </tr> <% end %> </table>
Version data entries
4 entries across 4 versions & 1 rubygems