Sha256: a77ee4ab9e77e731eb14e1c890464b523e2b653118bda812a0c6263bb209b764
Contents?: true
Size: 1.22 KB
Versions: 4
Compression:
Stored size: 1.22 KB
Contents
<% title _("Tasks") %> <% title_actions SETTINGS[:version].short <= '1.13' ? help_path : help_button %> <% stylesheet 'foreman_tasks/tasks' %> <script> var currentTwoPaneTask; $(document).on('click', ".table-two-pane td.two-pane-link", function(e) { currentTwoPaneTask = $(this).find("a"); if(currentTwoPaneTask.length){ e.preventDefault(); two_pane_open(currentTwoPaneTask); } }); </script> <table class="table table-bordered table-striped table-two-pane"> <tr> <th><%= _("Action") %></th> <th><%= _("State") %></th> <th><%= _("Result") %></th> <th><%= sort :started_at, :as => _("Started at") %></th> <th><%= sort :ended_at, :as => _("Ended at") %></th> <th><%= _("User") %></th> </tr> <% for task in @tasks %> <tr> <td class="task-id two-pane-link"> <%= link_to_if_authorized(trunc_with_tooltip(format_task_input(task, true), 80), hash_for_foreman_tasks_task_path(:id => task)) %> </td> <td><%= task.state %></td> <td><%= task.result %></td> <td><%= task.started_at.try(:in_time_zone) %></td> <td><%= task.ended_at.try(:in_time_zone) %></td> <td><%= task.username %></td> </tr> <% end %> </table> <%= will_paginate_with_info @tasks %>
Version data entries
4 entries across 4 versions & 1 rubygems