mgmt.component.html 842 Bytes
Newer Older
Lukas Burgey's avatar
Lukas Burgey committed
1
<div *ngIf="userService.loggedIn">
Lukas Burgey's avatar
Lukas Burgey committed
2 3
	<div class="mat-typography">
		<h2>Services</h2>
Lukas Burgey's avatar
Lukas Burgey committed
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
		<div *ngIf="userService.services.length > 0">
			<mat-accordion>
				<app-service *ngFor="let service of userService.services"
					[serviceData]="service"></app-service>
			</mat-accordion>
		</div>
		<p *ngIf="userService.services?.length == 0">
		You have no available services.<br/>
		This is due services requiring users to be member of a certain group.
		</p>
	</div>
	<div *ngIf="userService.user.deployment_tasks.length > 0">
		<h4>Uncompleted tasks</h4>
		<div>
			<p *ngFor="let task of userService.user.deployment_tasks">
Lukas Burgey's avatar
Lukas Burgey committed
19 20 21 22 23 24 25 26 27
			{{ task | json }}
			</p>
		</div>
	</div>
	<div *ngIf="userService.messages.length > 0">
		<h4>Messages</h4>
		<div>
			<p *ngFor="let message of userService.messages">
			{{ message }}
Lukas Burgey's avatar
Lukas Burgey committed
28 29
			</p>
		</div>
Lukas Burgey's avatar
Lukas Burgey committed
30
	</div>
Lukas Burgey's avatar
Lukas Burgey committed
31
</div>