<% if @build_load_operation_errors %>
<div class="modal fade" tabindex="-1" role="dialog" id="load-operation-errors-modal">
  <div class="modal-dialog modal-lg">
    <div class="modal-content">
      <div class="modal-header">
        <h4 class="modal-title">Load Operation Errors</h4>
        <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="<%= I18n.t(:close) %>"></button>
      </div>

        <div class="modal-body">
              
            <table  class="table table-striped table-condensed">
            <thead>
              <tr>
                <th></th>
                <th>Operation</th>
                <th>Timing (ms)</th>
                <th>Error</th>  
              </tr>
            </thead>
            <tbody>			
							
            <% @build_load_operation_errors.each do |entry| %>
			<tr>
				<td nowrap="true"><%= entry.start_time.localtime.strftime('%Y-%m-%d:%H:%M:%S') %></td>
				<td><%= entry.operation %></td>
				<td nowrap="true"><%= entry.duration %></td>
				<td><%= entry.error %></td>
			</tr>
		    <% end %>
            </tbody>
          </table>

        </div>
        <div class="modal-footer">
          <button type="button" class="btn btn-default" data-dismiss="modal" data-bs-dismiss="modal"><%= I18n.t(:close) %></button>
        </div>
    </div><!-- /.modal-content -->
  </div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<% end %>