<div class="statusBox">
    <h2>{{ 'dashboard.status.jobs_title' | translate }}</h2>
    <div *ngIf="jobqueue?.length != 0; else noJobs">
        <p>{{ 'dashboard.status.jobs_text' | translate }}:</p>
        <ul>
            <div *ngFor="let job of jobqueue">
                <p>{{ utility.formatDate(job.StatusTime) }} {{ utility.formatTime(job.StatusTime) }} - {{ job.Program.Title }} - {{ job.LocalizedJobName }} -
                    {{ 'dashboard.status.jobs_status' | translate }}: {{ job.LocalizedStatus }} </p>
                <!-- Add details of failed job -->
            </div>
        </ul>
    </div>
</div>
<ng-template #noJobs>
    <p>{{ 'dashboard.status.jobs_none' | translate }}</p>
</ng-template>