<h1 mat-dialog-title class="prevent-select">Ejecuciones del {{ dateStr }}</h1>
<div mat-dialog-content class="prevent-select">
  <div *ngIf="dayEvents.length == 0" class="no-events">
    No hay ejecuciones registradas para esta fecha.
  </div>
  <div *ngIf="dayEvents.length > 0" class="events-container">
    <div *ngFor="let event of dayEvents" class="full-event">
      <div class="event-name">
        <span>Orden #{{ event.IDORDEN }}</span> - {{ event.TYPE }} - {{ event.REGEST }}
      </div>
      <button mat-button class="ml-8" (click)="openExecution(event.IDORDEN)">Abrir registro</button>
    </div>
  </div>
</div>
<div mat-dialog-actions align="end">
  <button mat-button mat-dialog-close>Cerrar</button>
</div>