mgmt.component.html 864 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
		<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>
15
	<!--
16
	<div *ngIf="userService.user.deployment_tasks.length > 0">
Lukas Burgey's avatar
Lukas Burgey committed
17
		<h3>Uncompleted tasks</h3>
18
		<div>
Lukas Burgey's avatar
Lukas Burgey committed
19
			<pre *ngFor="let task of userService.user.deployment_tasks">
20
			{{ task | json }}
Lukas Burgey's avatar
Lukas Burgey committed
21
			</pre>
22 23 24
		</div>
	</div>
	<div *ngIf="userService.messages.length > 0">
Lukas Burgey's avatar
Lukas Burgey committed
25
		<h3>Messages</h3>
26 27 28
		<div>
			<p *ngFor="let message of userService.messages">
			{{ message }}
29 30
			</p>
		</div>
Lukas Burgey's avatar
Lukas Burgey committed
31
	</div>
32
	-->
Lukas Burgey's avatar
Lukas Burgey committed
33
</div>