body.component.html 866 Bytes
Newer Older
Lukas Burgey's avatar
Lukas Burgey committed
1
2
<div class="body">
	<div *ngIf="userService.loggedIn()" class="mat-typography">
3
4
5
6
7
8
		<div style="padding-bottom: 30px;">
			<h2>Your Virtual Organisations</h2>
			<mat-accordion *ngIf="userService.user.groups.length > 0">
				<app-vo *ngFor="let group of userService.getGroups()" [group]="group" [deployment]="userService.getDeploymentByGroup(group)"></app-vo>
			</mat-accordion>
		</div>
Lukas Burgey's avatar
Lukas Burgey committed
9
10
11
12
13
14
15
16
17
18
		<div style="padding-bottom: 30px;">
			<h2>Services</h2>
			<mat-accordion *ngIf="userService.services.length > 0">
				<app-service *ngFor="let service of userService.services" [deployment]="userService.getDeployment(service)" [service]="service"></app-service>
			</mat-accordion>
			<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>
Lukas Burgey's avatar
wip    
Lukas Burgey committed
19
	</div>
Lukas Burgey's avatar
Lukas Burgey committed
20
</div>