]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/menu/avatar-notification.component.html
Handle email update on server
[github/Chocobozzz/PeerTube.git] / client / src / app / menu / avatar-notification.component.html
CommitLineData
2f1548fd
C
1<div
2 [ngbPopover]="popContent" autoClose="outside" placement="bottom-left" container="body" popoverClass="popover-notifications"
b28e4e5e 3 i18n-title title="View your notifications" class="notification-avatar" #popover="ngbPopover" (hidden)="onPopoverHidden()"
2f1548fd
C
4>
5 <div *ngIf="unreadNotifications > 0" class="unread-notifications">{{ unreadNotifications }}</div>
6
7 <img [src]="user.accountAvatarUrl" alt="Avatar" />
8</div>
9
10<ng-template #popContent>
b28e4e5e
C
11 <div class="content" [ngClass]="{ loaded: loaded }">
12 <div class="notifications-header">
13 <div i18n>Notifications</div>
2f1548fd 14
b28e4e5e
C
15 <a
16 i18n-title title="Update your notification preferences" class="glyphicon glyphicon-cog"
17 routerLink="/my-account/settings" fragment="notifications"
18 ></a>
19 </div>
20
21 <div *ngIf="!loaded" class="loader">
22 <my-loader [loading]="!loaded"></my-loader>
23 </div>
2f1548fd 24
b28e4e5e
C
25 <my-user-notifications
26 [ignoreLoadingBar]="true" [infiniteScroll]="false" itemsPerPage="10"
27 (notificationsLoaded)="onNotificationLoaded()"
28 ></my-user-notifications>
2f1548fd 29
b28e4e5e
C
30 <a *ngIf="loaded" class="all-notifications" routerLink="/my-account/notifications" i18n>See all your notifications</a>
31 </div>
2f1548fd 32</ng-template>