'$next_try_header' => DI::l10n()->t('Next Try'),
'$prio_header' => DI::l10n()->t('Priority'),
'$info' => $info,
+ '$status' => $status,
'$entries' => $r,
]);
}
<th>{{$command_header}}</th>
<th>{{$param_header}}</th>
<th>{{$created_header}}</th>
- <th>{{$next_try_header}}</th>
+ {{if ($status==='deferred') }}<th>{{$next_try_header}}</th>{{/if}}
<th>{{$prio_header}}</th>
</tr>
{{foreach $entries as $e}}
<td>{{$e.command}}</td>
<td>{{$e.parameter}}</td>
<td>{{$e.created}}</td>
- <td>{{$e.next_try}}</td>
+ {{if ($status==='deferred') }}<td>{{$e.next_try}}</td>{{/if}}
<td>{{$e.priority}}</td>
</tr>
{{/foreach}}
<th>{{$command_header}}</th>
<th>{{$param_header}}</th>
<th>{{$created_header}}</th>
- <th>{{$next_try_header}}</th>
+ {{if ($status==='deferred') }}<th>{{$next_try_header}}</th>{{/if}}
<th>{{$prio_header}}</th>
</tr>
{{foreach $entries as $e}}
<td>{{$e.command}}</td>
<td>{{$e.parameter}}</td>
<td>{{$e.created}}</td>
- <td>{{$e.next_try}}</td>
+ {{if ($status==='deferred') }}<td>{{$e.next_try}}</td>{{/if}}
<td>{{$e.priority}}</td>
</tr>
{{/foreach}}