mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
76 lines
2.8 KiB
HTML
76 lines
2.8 KiB
HTML
<aca-page-layout>
|
|
<div class="aca-page-layout-header">
|
|
<h1 class="aca-page-title">{{ 'APP.BROWSE.SHARED.TITLE' | translate }}</h1>
|
|
<aca-toolbar [items]="actions"></aca-toolbar>
|
|
</div>
|
|
|
|
<div class="aca-page-layout-content">
|
|
<div class="aca-main-content">
|
|
<adf-document-list
|
|
#documentList
|
|
acaDocumentList
|
|
acaContextActions
|
|
[currentFolderId]="'-sharedlinks-'"
|
|
[selectionMode]="'multiple'"
|
|
[sorting]="['modifiedAt', 'desc']"
|
|
[imageResolver]="imageResolver"
|
|
[sortingMode]="'client'"
|
|
[isResizingEnabled]="true"
|
|
[blurOnResize]="false"
|
|
(node-dblclick)="handleNodeClick($event)"
|
|
(name-click)="handleNodeClick($event)"
|
|
>
|
|
<adf-custom-empty-content-template>
|
|
<adf-empty-content icon="people" [title]="'APP.BROWSE.SHARED.EMPTY_STATE.TITLE'" subtitle="APP.BROWSE.SHARED.EMPTY_STATE.TEXT">
|
|
</adf-empty-content>
|
|
</adf-custom-empty-content-template>
|
|
|
|
<data-columns>
|
|
<ng-container *ngFor="let column of columns; trackBy: trackByColumnId">
|
|
<ng-container *ngIf="column.template && !(column.desktopOnly && isSmallScreen)">
|
|
<data-column
|
|
[id]="column.id"
|
|
[key]="column.key"
|
|
[title]="column.title"
|
|
[type]="column.type"
|
|
[format]="column.format"
|
|
[class]="column.class"
|
|
[sortable]="column.sortable"
|
|
[isHidden]="column.isHidden"
|
|
[draggable]="column.draggable"
|
|
[resizable]="column.resizable"
|
|
>
|
|
<ng-template let-context>
|
|
<adf-dynamic-column [id]="column.template" [context]="context"> </adf-dynamic-column>
|
|
</ng-template>
|
|
</data-column>
|
|
</ng-container>
|
|
|
|
<ng-container *ngIf="!column.template && !(column.desktopOnly && isSmallScreen)">
|
|
<data-column
|
|
[id]="column.id"
|
|
[draggable]="column.draggable"
|
|
[resizable]="column.resizable"
|
|
[key]="column.key"
|
|
[title]="column.title"
|
|
[type]="column.type"
|
|
[format]="column.format"
|
|
[class]="column.class"
|
|
[sortable]="column.sortable"
|
|
[isHidden]="column.isHidden"
|
|
>
|
|
</data-column>
|
|
</ng-container>
|
|
</ng-container>
|
|
</data-columns>
|
|
</adf-document-list>
|
|
|
|
<adf-pagination acaPagination [target]="documentList"></adf-pagination>
|
|
</div>
|
|
|
|
<div class="aca-sidebar" *ngIf="infoDrawerOpened$ | async">
|
|
<aca-info-drawer [node]="selection.last"></aca-info-drawer>
|
|
</div>
|
|
</div>
|
|
</aca-page-layout>
|