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.
31 lines
1.4 KiB
31 lines
1.4 KiB
<sqx-list-view [isLoading]="contentsState.isLoading | async" table="true">
|
|
<ng-container content>
|
|
<table class="table table-items table-fixed" *ngIf="contentsState.contents | async; let contents">
|
|
<tbody *ngFor="let content of contents; trackBy: trackByContent"
|
|
[sqxReferenceItem]="content"
|
|
[canRemove]="false"
|
|
[columns]="contents | sqxContentsColumns"
|
|
[isCompact]="false"
|
|
[isDisabled]="false"
|
|
[validations]="contentsState.validationResults | async"
|
|
[validityVisible]="true"
|
|
[language]="language">
|
|
</tbody>
|
|
|
|
<tbody *ngIf="(contentsState.isLoaded | async) && contents.length === 0">
|
|
<tr>
|
|
<td class="table-items-row-empty" *ngIf="mode === 'references'">
|
|
{{ 'contents.noReferences' | sqxTranslate }}
|
|
</td>
|
|
<td class="table-items-row-empty" *ngIf="mode === 'referencing'">
|
|
{{ 'contents.noReferencing' | sqxTranslate }}
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</ng-container>
|
|
|
|
<ng-container footer>
|
|
<sqx-pager [paging]="contentsState.paging | async" (pagingChange)="contentsState.page($event)"></sqx-pager>
|
|
</ng-container>
|
|
</sqx-list-view>
|