mgmt.component.html 853 Bytes
Newer Older
Lukas Burgey's avatar
Lukas Burgey committed
1
<div *ngIf="userService.loggedIn">
Lukas Burgey's avatar
Lukas Burgey committed
2
	<div style="padding-bottom: 30px;">
3
		<h2>Services</h2>
4 5 6 7 8 9 10 11 12 13 14 15
		<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">
Lukas Burgey's avatar
Lukas Burgey committed
16
		<h3>Uncompleted tasks</h3>
17
		<div>
Lukas Burgey's avatar
Lukas Burgey committed
18
			<pre *ngFor="let task of userService.user.deployment_tasks">
19
			{{ task | json }}
Lukas Burgey's avatar
Lukas Burgey committed
20
			</pre>
21 22 23
		</div>
	</div>
	<div *ngIf="userService.messages.length > 0">
Lukas Burgey's avatar
Lukas Burgey committed
24
		<h3>Messages</h3>
25 26 27
		<div>
			<p *ngFor="let message of userService.messages">
			{{ message }}
28 29
			</p>
		</div>
Lukas Burgey's avatar
Lukas Burgey committed
30
	</div>
Lukas Burgey's avatar
Lukas Burgey committed
31
</div>