2013-08-21 18:38:52 -04:00
|
|
|
<%= erb :_job_info, :locals => {:job => @retry, :type => :retry} %>
|
|
|
|
|
|
|
|
<h3><%= t('Error') %></h3>
|
|
|
|
<table class="error table table-bordered table-striped">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<th><%= t('ErrorClass') %></th>
|
|
|
|
<td>
|
|
|
|
<code><%= @retry['error_class'] %></code>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th><%= t('ErrorMessage') %></th>
|
2013-10-25 16:59:41 -04:00
|
|
|
<td><%= h(@retry['error_message']) %></td>
|
2013-08-21 18:38:52 -04:00
|
|
|
</tr>
|
|
|
|
<% if !@retry['error_backtrace'].nil? %>
|
|
|
|
<tr>
|
|
|
|
<th><%= t('ErrorBacktrace') %></th>
|
|
|
|
<td>
|
|
|
|
<code><%= @retry['error_backtrace'].join("<br/>") %></code>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<% end %>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<form class="form-horizontal" action="<%= root_path %>retries/<%= job_params(@retry, @retry.score) %>" method="post">
|
2013-10-01 00:43:24 -04:00
|
|
|
<a class="btn btn-default" href="<%= root_path %>retries"><%= t('GoBack') %></a>
|
2013-08-21 18:38:52 -04:00
|
|
|
<input class="btn btn-primary" type="submit" name="retry" value="<%= t('RetryNow') %>" />
|
|
|
|
<input class="btn btn-danger" type="submit" name="delete" value="<%= t('Delete') %>" />
|
|
|
|
</form>
|