mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-09-17 14:21:14 +00:00
restore original code
This commit is contained in:
committed by
Yasa-Nataliya
parent
d6c04ebd89
commit
396e1e573f
@@ -230,7 +230,6 @@
|
||||
{
|
||||
"id": "app.navbar.menu",
|
||||
"order": 100,
|
||||
"icon": "folder",
|
||||
"title": "APP.BROWSE.FILE.SIDENAV_LINK.LABEL",
|
||||
"description": "APP.BROWSE.FILE.SIDENAV_LINK.TOOLTIP",
|
||||
"rules": {
|
||||
|
@@ -23,18 +23,20 @@
|
||||
#acaExpansionPanel="acaExpansionPanel"
|
||||
[@.disabled]="true"
|
||||
>
|
||||
<mat-expansion-panel-header expandedHeight="32x" collapsedHeight="32px" role="group">
|
||||
<mat-expansion-panel-header expandedHeight="48x" collapsedHeight="48px" role="group">
|
||||
<mat-panel-title>
|
||||
<div class="item">
|
||||
<div
|
||||
<button
|
||||
[attr.aria-label]="item.title | translate"
|
||||
[id]="item.id"
|
||||
[attr.title]="item.description | translate"
|
||||
[attr.data-automation-id]="item.id"
|
||||
class="action-panel-header"
|
||||
mat-button
|
||||
class="action-button full-width"
|
||||
>
|
||||
<span class="action-panel-header__label">{{ item.title | translate }}</span>
|
||||
</div>
|
||||
<adf-icon *ngIf="item.icon" [value]="item.icon"></adf-icon>
|
||||
<span class="action-button__label">{{ item.title | translate }}</span>
|
||||
</button>
|
||||
</div>
|
||||
</mat-panel-title>
|
||||
</mat-expansion-panel-header>
|
||||
|
@@ -10,8 +10,7 @@
|
||||
<app-expand-menu [item]="item"></app-expand-menu>
|
||||
</ng-container>
|
||||
<ng-container *ngIf="item.component">
|
||||
<adf-dynamic-component [data]="{ item: item, state: 'expanded' }"
|
||||
[id]="item.component"></adf-dynamic-component>
|
||||
<adf-dynamic-component [data]="{ item: item, state: 'expanded' }" [id]="item.component"></adf-dynamic-component>
|
||||
</ng-container>
|
||||
</mat-list-item>
|
||||
</ng-container>
|
||||
@@ -19,12 +18,11 @@
|
||||
<ng-container *ngSwitchCase="'collapsed'">
|
||||
<div class="list-item" *ngFor="let item of group.items; trackBy: trackByLinkId">
|
||||
<ng-container *ngIf="!item.component">
|
||||
<app-expand-menu [item]="item"></app-expand-menu>
|
||||
<app-button-menu [item]="item"></app-button-menu>
|
||||
</ng-container>
|
||||
|
||||
<ng-container *ngIf="item.component">
|
||||
<adf-dynamic-component [data]="{ item: item, state: 'collapsed' }" [id]="item.component">
|
||||
</adf-dynamic-component>
|
||||
<adf-dynamic-component [data]="{ item: item, state: 'collapsed' }" [id]="item.component"></adf-dynamic-component>
|
||||
</ng-container>
|
||||
</div>
|
||||
</ng-container>
|
||||
|
Reference in New Issue
Block a user