|
|
@ -13,13 +13,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
<span id="username">{{groupProfile.name}}</span>
|
|
|
|
<span id="username">{{groupProfile.name}}</span>
|
|
|
|
<div class="button-box">
|
|
|
|
<div class="button-box">
|
|
|
|
<button mat-icon-button
|
|
|
|
<button mat-icon-button *ngIf="!groupProfile.joined"
|
|
|
|
class="request-button"
|
|
|
|
class="request-button"
|
|
|
|
matTooltip="join group" matTooltipShowDelay="500"
|
|
|
|
matTooltip="join group" matTooltipShowDelay="500"
|
|
|
|
(click)="joinGroup(groupProfile)"
|
|
|
|
(click)="joinGroup(groupProfile)"
|
|
|
|
[disabled]="!groupProfile.allowedToJoinGroup">
|
|
|
|
[disabled]="!groupProfile.allowedToJoinGroup">
|
|
|
|
<mat-icon>group_add</mat-icon>
|
|
|
|
<mat-icon>group_add</mat-icon>
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<button mat-icon-button *ngIf="groupProfile.joined"
|
|
|
|
|
|
|
|
class="request-button"
|
|
|
|
|
|
|
|
matTooltip="leave group" matTooltipShowDelay="500"
|
|
|
|
|
|
|
|
(click)="leaveGroup(groupProfile)">
|
|
|
|
|
|
|
|
<mat-icon>directions_run</mat-icon>
|
|
|
|
|
|
|
|
</button>
|
|
|
|
<button mat-icon-button
|
|
|
|
<button mat-icon-button
|
|
|
|
class="request-button"
|
|
|
|
class="request-button"
|
|
|
|
matTooltip="create event" matTooltipShowDelay="500"
|
|
|
|
matTooltip="create event" matTooltipShowDelay="500"
|
|
|
@ -65,13 +71,19 @@
|
|
|
|
(click)="showUserProfile(groupProfile.creator)">created by {{groupProfile.creator.username}}
|
|
|
|
(click)="showUserProfile(groupProfile.creator)">created by {{groupProfile.creator.username}}
|
|
|
|
@{{groupProfile.creator.handle}}</span>
|
|
|
|
@{{groupProfile.creator.handle}}</span>
|
|
|
|
<div class="button-box">
|
|
|
|
<div class="button-box">
|
|
|
|
<button mat-icon-button
|
|
|
|
<button mat-icon-button *ngIf="!groupProfile.joined"
|
|
|
|
class="request-button"
|
|
|
|
class="request-button"
|
|
|
|
matTooltip="join group" matTooltipShowDelay="500"
|
|
|
|
matTooltip="join group" matTooltipShowDelay="500"
|
|
|
|
(click)="joinGroup(groupProfile)"
|
|
|
|
(click)="joinGroup(groupProfile)"
|
|
|
|
[disabled]="!groupProfile.allowedToJoinGroup">
|
|
|
|
[disabled]="!groupProfile.allowedToJoinGroup">
|
|
|
|
<mat-icon>group_add</mat-icon>
|
|
|
|
<mat-icon>group_add</mat-icon>
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<button mat-icon-button *ngIf="groupProfile.joined"
|
|
|
|
|
|
|
|
class="request-button"
|
|
|
|
|
|
|
|
matTooltip="leave group" matTooltipShowDelay="500"
|
|
|
|
|
|
|
|
(click)="leaveGroup(groupProfile)">
|
|
|
|
|
|
|
|
<mat-icon>directions_run</mat-icon>
|
|
|
|
|
|
|
|
</button>
|
|
|
|
<button mat-icon-button
|
|
|
|
<button mat-icon-button
|
|
|
|
class="request-button"
|
|
|
|
class="request-button"
|
|
|
|
matTooltip="create event" matTooltipShowDelay="500"
|
|
|
|
matTooltip="create event" matTooltipShowDelay="500"
|
|
|
|