<app-common-dialog [dialogContent]="dialogContent" [dialogRef]="dialogRef">
  <ng-template #dialogContent>
    <p i18n>Last snapshot(OpenStack allows revert only to last snapshot):</p>
    <p *ngIf="snapshot">{{snapshot.name + ' - ' + snapshot.id}}</p>
    <p *ngIf="!snapshot">
      <span *ngIf="loading" i18n>Loading snapshot ...</span>
      <span *ngIf="!loading" i18n>No snapshot found ...</span>
    </p>
  </ng-template>
</app-common-dialog>
