body.component.html 1.19 KB
Newer Older
1
<div class="body" class="mat-typography" class="body" >
2
  <div *ngIf="(userService.subscribeUser() | async) as user" style="max-width: 800px; margin: auto;">
3 4 5
	<mat-tab-group>
	  <mat-tab label="Your VOs">
		<div class="mat-typography" class="body">
6
		  <h3>Your Virtual Organisations</h3>
Lukas Burgey's avatar
Lukas Burgey committed
7 8
		  <div>
			<mat-accordion *ngIf="(userService.subscribeGroups() | async) as groups">
9 10
			  <app-vo-data *ngFor="let group of groups" [group]="group"></app-vo-data>
			</mat-accordion>
Lukas Burgey's avatar
Lukas Burgey committed
11 12 13 14 15
			<ng-template #noGroups>
			  <p>
			  You are not member in any Virtual Organisations.
			  </p>
			</ng-template>
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
		  </div>
		</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>