<div class="modal-header">
  <h4 class="modal-title" jhiTranslate="resilientApp.resilientLogLogsDialog.title">Log</h4>
</div>

<div class="modal-body">
	
  @if (resilientLogs?.length === 0) {
    <div class="alert alert-warning" id="no-result">
      <span jhiTranslate="resilientApp.resilientLog.home.notFound">Nenhum Log encontrado</span>
    </div>
  }

  @if (resilientLogs && resilientLogs.length > 0) {
    <div class="table-responsive table-entities" id="entities">
      <table class="table table-striped" aria-describedby="page-heading">
        <tbody>
          @for (resilientLog of resilientLogs; track trackId) {
            <tr data-cy="entityTable">
              <td>{{ resilientLog.logMessage }}</td>
            </tr>
          }
        </tbody>
      </table>
    </div>
  }
</div>

<div class="modal-footer">
  <button type="button" class="btn btn-secondary" data-dismiss="modal" (click)="cancel()">
	<fa-icon icon="ban"></fa-icon>&nbsp;<span jhiTranslate="resilientApp.resilientLogLogsDialog.action.close">Fechar</span>
  </button>
</div>