aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/users/user-notifications.component.html
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-04-09 10:42:07 +0200
committerChocobozzz <me@florianbigard.com>2019-04-09 10:42:07 +0200
commit8ce1ba6e3efe0a688d6a0b57e8201cde33ad7aac (patch)
tree10fb184225bea38057979019c0427f893b03f77c /client/src/app/shared/users/user-notifications.component.html
parent846751c98b8704c09234688be6e7e23b837a3739 (diff)
downloadPeerTube-8ce1ba6e3efe0a688d6a0b57e8201cde33ad7aac.tar.gz
PeerTube-8ce1ba6e3efe0a688d6a0b57e8201cde33ad7aac.tar.zst
PeerTube-8ce1ba6e3efe0a688d6a0b57e8201cde33ad7aac.zip
Add new instance follower notification in client
Diffstat (limited to 'client/src/app/shared/users/user-notifications.component.html')
-rw-r--r--client/src/app/shared/users/user-notifications.component.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/client/src/app/shared/users/user-notifications.component.html b/client/src/app/shared/users/user-notifications.component.html
index 6d2f2750e..d27f60158 100644
--- a/client/src/app/shared/users/user-notifications.component.html
+++ b/client/src/app/shared/users/user-notifications.component.html
@@ -102,6 +102,15 @@
102 <a (click)="markAsRead(notification)" [routerLink]="notification.accountUrl">{{ notification.comment.account.displayName }}</a> mentioned you on <a (click)="markAsRead(notification)" [routerLink]="notification.commentUrl">video {{ notification.comment.video.name }}</a> 102 <a (click)="markAsRead(notification)" [routerLink]="notification.accountUrl">{{ notification.comment.account.displayName }}</a> mentioned you on <a (click)="markAsRead(notification)" [routerLink]="notification.commentUrl">video {{ notification.comment.video.name }}</a>
103 </div> 103 </div>
104 </ng-container> 104 </ng-container>
105
106 <ng-container i18n *ngSwitchCase="UserNotificationType.NEW_INSTANCE_FOLLOWER">
107 <my-global-icon iconName="users"></my-global-icon>
108
109 <div class="message">
110 Your instance has <a (click)="markAsRead(notification)" [routerLink]="notification.instanceFollowUrl">a new follower</a>
111 <ng-container *ngIf="notification.actorFollow.state === 'pending'"> awaiting your approval</ng-container>
112 </div>
113 </ng-container>
105 </ng-container> 114 </ng-container>
106 115
107 <div class="from-date">{{ notification.createdAt | myFromNow }}</div> 116 <div class="from-date">{{ notification.createdAt | myFromNow }}</div>