body.component.html 1.23 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<div class="body" class="mat-typography" class="body" >
  <div *ngIf="userService.subscribeLoggedIn() | async">
	<mat-tab-group>
	  <mat-tab label="Your VOs">
		<div class="mat-typography" class="body">
		  <h2>Your Virtual Organisations</h2>
		  <div *ngIf="(userService.subscribeSpecific(userService.groupSelector) | async) as groups; else noGroups">
			<mat-accordion *ngIf="groups.length > 0; else noGroups">
			  <app-vo-data *ngFor="let group of groups" [group]="group"></app-vo-data>
			</mat-accordion>
		  </div>
		  <ng-template #noGroups>
			<p>
			You are not member in any Virtual Organisations.
			</p>
		  </ng-template>
		</div>
	  </mat-tab>
	  <!--
	  <mat-tab label="Services">
		<div class="mat-typography" class="body">
		  <h2>Available Services</h2>
		  <mat-accordion *ngIf="userService.services$ | async as services; else noServices">
			<app-service *ngFor="let service of services" [deployment]="userService.getDeployment(service)" [service]="service"></app-service>
		  </mat-accordion>
		  <ng-template #noServices>
			<p>
			You have no available services.<br/>
			This is due services requiring users to be member of a certain group.
			</p>
		  </ng-template>
		</div>
	  </mat-tab>
	  -->
Lukas Burgey's avatar
Lukas Burgey committed
35
	</mat-tab-group>
36
  </div>
Lukas Burgey's avatar
Lukas Burgey committed
37
</div>