This commit is contained in:
2023-05-16 17:09:36 +02:00
parent 18a2907bf7
commit e94766898d
7 changed files with 68 additions and 5 deletions

View File

@@ -0,0 +1,9 @@
<div mat-dialog-content>
<p>Die Veranstaltung wird archiviert und ist danach nichtmehr verfügbar.</p>
</div>
<div mat-dialog-actions>
<button [mat-dialog-close]="false" mat-button>Abbrechen</button>
<button [mat-dialog-close]="true" cdkFocusInitial mat-button>
Archivieren
</button>
</div>

View File

@@ -0,0 +1,22 @@
import {ComponentFixture, TestBed} from '@angular/core/testing';
import {ArchiveDialogComponent} from './archive-dialog.component';
describe('ArchiveDialogComponent', () => {
let component: ArchiveDialogComponent;
let fixture: ComponentFixture<ArchiveDialogComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [ArchiveDialogComponent],
}).compileComponents();
fixture = TestBed.createComponent(ArchiveDialogComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});

View File

@@ -0,0 +1,8 @@
import {Component} from '@angular/core';
@Component({
selector: 'app-archive-dialog',
templateUrl: './archive-dialog.component.html',
styleUrls: ['./archive-dialog.component.less'],
})
export class ArchiveDialogComponent {}