hide data in delayed job listing
This commit is contained in:
@@ -3,7 +3,9 @@
|
||||
<table class="striped" width="100%">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Handler</th>
|
||||
<% if CurrentUser.is_admin? %>
|
||||
<th>Handler</th>
|
||||
<% end %>
|
||||
<th>Attempts</th>
|
||||
<th>Priority</th>
|
||||
<th>Last error</th>
|
||||
@@ -14,7 +16,9 @@
|
||||
<tbody>
|
||||
<% @delayed_jobs.each do |job| %>
|
||||
<tr>
|
||||
<td><%= job.handler %></td>
|
||||
<% if CurrentUser.is_admin? %>
|
||||
<td><%= job.handler %></td>
|
||||
<% end %>
|
||||
<td><%= job.attempts %></td>
|
||||
<td><%= job.priority %></td>
|
||||
<td><%= job.last_error %></td>
|
||||
|
||||
Reference in New Issue
Block a user