Skip to content

Commit

Permalink
added amount of unread messages (#2260)
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyGSA authored Sep 26, 2023
1 parent 7a07165 commit 2a8fe80
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@
<p class="card_text"><i class="fas fa-user-clock card_icon"></i> {{ 'AWAITING_CONFIRMATION' | translate }}:</p>
<span class="card_text card_text_blue"> {{ workshopData.amountOfPendingApplications }}</span>
</div>
<div class="provider-content" fxLayout="row" fxLayoutAlign="space-between center">
<p class="card_text"><i class="fas fa-solid fa-envelope card_icon"></i> {{ 'ENUM.NAV_BAR_NAME.MESSAGES' | translate }}:</p>
<span class="card_text card_text_blue"> {{ workshopData.unreadMessages }}</span>
</div>
</ng-template>

<ng-template #UserWorkshopView>
Expand Down
1 change: 1 addition & 0 deletions src/app/shared/models/workshop.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ export interface ProviderWorkshopCard extends WorkshopBaseCard {
takenSeats: number;
amountOfPendingApplications: number;
status: WorkshopOpenStatus;
unreadMessages: number;
}

export interface WorkshopCard extends WorkshopBaseCard {
Expand Down

0 comments on commit 2a8fe80

Please sign in to comment.