mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-09-17 14:21:14 +00:00
82 lines
3.1 KiB
HTML
82 lines
3.1 KiB
HTML
<app-page-layout>
|
|
|
|
<app-page-layout-header>
|
|
<adf-breadcrumb root="APP.BROWSE.LIBRARIES.MENU.MY_LIBRARIES.TITLE">
|
|
</adf-breadcrumb>
|
|
|
|
<adf-toolbar class="inline">
|
|
<ng-container *ngFor="let entry of actions; trackBy: trackByActionId">
|
|
<aca-toolbar-action [actionRef]="entry"></aca-toolbar-action>
|
|
</ng-container>
|
|
</adf-toolbar>
|
|
</app-page-layout-header>
|
|
|
|
<app-page-layout-content>
|
|
<div class="main-content">
|
|
<adf-document-list #documentList
|
|
acaDocumentList
|
|
acaContextActions
|
|
[display]="documentDisplayMode$ | async"
|
|
currentFolderId="-mysites-"
|
|
selectionMode="single"
|
|
[navigate]="false"
|
|
[sorting]="[ 'title', 'asc' ]"
|
|
[imageResolver]="imageResolver"
|
|
(node-dblclick)="navigateTo($event.detail?.node)"
|
|
(name-click)="navigateTo($event.detail?.node)">
|
|
|
|
<empty-folder-content>
|
|
<ng-template>
|
|
<adf-empty-content
|
|
icon="library_books"
|
|
[title]="'APP.BROWSE.LIBRARIES.EMPTY_STATE.FILE_LIBRARIES.TITLE'"
|
|
subtitle="APP.BROWSE.LIBRARIES.EMPTY_STATE.FILE_LIBRARIES.TEXT">
|
|
</adf-empty-content>
|
|
</ng-template>
|
|
</empty-folder-content>
|
|
|
|
<data-columns>
|
|
<ng-container *ngFor="let column of columns; trackBy: trackById">
|
|
|
|
<ng-container *ngIf="column.template && !(column.desktopOnly && isSmallScreen)">
|
|
<data-column
|
|
[key]="column.key"
|
|
[title]="column.title"
|
|
[type]="column.type"
|
|
[format]="column.format"
|
|
[class]="column.class"
|
|
[sortable]="column.sortable">
|
|
<ng-template let-context>
|
|
<app-dynamic-column
|
|
[id]="column.template"
|
|
[context]="context">
|
|
</app-dynamic-column>
|
|
</ng-template>
|
|
</data-column>
|
|
</ng-container>
|
|
|
|
<ng-container *ngIf="!column.template && !(column.desktopOnly && isSmallScreen)">
|
|
<data-column
|
|
[key]="column.key"
|
|
[title]="column.title"
|
|
[type]="column.type"
|
|
[format]="column.format"
|
|
[class]="column.class"
|
|
[sortable]="column.sortable">
|
|
</data-column>
|
|
</ng-container>
|
|
|
|
</ng-container>
|
|
</data-columns>
|
|
</adf-document-list>
|
|
|
|
<adf-pagination acaPagination [target]="documentList">
|
|
</adf-pagination>
|
|
</div>
|
|
|
|
<div class="sidebar" *ngIf="infoDrawerOpened$ | async">
|
|
<aca-info-drawer [node]="selection.library"></aca-info-drawer>
|
|
</div>
|
|
</app-page-layout-content>
|
|
</app-page-layout>
|