diff options
Diffstat (limited to 'client/src/app/+my-account/my-account-notifications/my-account-notifications.component.html')
-rw-r--r-- | client/src/app/+my-account/my-account-notifications/my-account-notifications.component.html | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.html b/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.html index 8e4480ca6..0727f90e8 100644 --- a/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.html +++ b/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.html | |||
@@ -5,7 +5,15 @@ | |||
5 | Notification preferences | 5 | Notification preferences |
6 | </a> | 6 | </a> |
7 | 7 | ||
8 | <button class="btn" [disabled]="!hasUnreadNotifications()" (click)="markAllAsRead()"> | 8 | <div class="peertube-select-container peertube-select-button ml-2"> |
9 | <select [(ngModel)]="notificationSortType" (ngModelChange)="onNotificationSortTypeChanged()" class="form-control"> | ||
10 | <option value="undefined" disabled>Sort by</option> | ||
11 | <option value="created" i18n>Newest first</option> | ||
12 | <option value="unread-created" i18n>Unread first</option> | ||
13 | </select> | ||
14 | </div> | ||
15 | |||
16 | <button class="btn ml-auto" [disabled]="!hasUnreadNotifications()" (click)="markAllAsRead()"> | ||
9 | <ng-container *ngIf="hasUnreadNotifications()"> | 17 | <ng-container *ngIf="hasUnreadNotifications()"> |
10 | <my-global-icon iconName="inbox-full" aria-hidden="true"></my-global-icon> | 18 | <my-global-icon iconName="inbox-full" aria-hidden="true"></my-global-icon> |
11 | 19 | ||