Sha256: d558711791c30add1a09cac6ed4fe139268bedc485389d628c244eea3a82243e
Contents?: true
Size: 625 Bytes
Versions: 38
Compression:
Stored size: 625 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> </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> </tr> <% end %> </table>
Version data entries
38 entries across 38 versions & 1 rubygems