mirror of https://github.com/Squidex/squidex.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.4 KiB
32 lines
1.4 KiB
<ul class="nav navbar-nav align-items-center">
|
|
<sqx-notifo></sqx-notifo>
|
|
|
|
<ng-container *ngIf="!isNotifoConfigured">
|
|
<li class="nav-item nav-icon dropdown position-relative" #button>
|
|
<span class="nav-link dropdown-toggle" (click)="modalMenu.show()">
|
|
<i class="icon-comments"></i>
|
|
|
|
<span class="badge rounded-pill bg-danger" *ngIf="unread">{{unread}}</span>
|
|
</span>
|
|
</li>
|
|
|
|
<ng-container *sqxModal="modalMenu;onRoot:false">
|
|
<sqx-dropdown-menu [scrollTop]="scrollMe.nativeElement.scrollHeight" [sqxAnchoredTo]="button" [offsetY]="10" #scrollMe>
|
|
<ng-container *ngIf="commentsState.comments | async; let comments">
|
|
<small class="text-muted" *ngIf="comments.length === 0">
|
|
{{ 'notifications.empty' | sqxTranslate}}
|
|
</small>
|
|
|
|
<sqx-comment *ngFor="let comment of comments; trackBy: trackByComment"
|
|
[comment]="comment"
|
|
[commentsState]="commentsState"
|
|
[confirmDelete]="false"
|
|
[canDelete]="true"
|
|
[canFollow]="true"
|
|
[userToken]="userToken">
|
|
</sqx-comment>
|
|
</ng-container>
|
|
</sqx-dropdown-menu>
|
|
</ng-container>
|
|
</ng-container>
|
|
</ul>
|