mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-09-17 14:21:14 +00:00
migrate to adf-button
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
<div class="aca-content-header">
|
<div class="aca-content-header">
|
||||||
<button *ngIf="(appNavNarMode$ | async) === 'collapsed'"
|
<adf-button *ngIf="(appNavNarMode$ | async) === 'collapsed'"
|
||||||
mat-icon-button
|
variant="icon"
|
||||||
|
icon="keyboard_double_arrow_right"
|
||||||
(click)="toggleClick()"
|
(click)="toggleClick()"
|
||||||
title="{{'APP.TOOLTIPS.EXPAND_NAVIGATION' | translate}}">
|
[tooltip]="'APP.TOOLTIPS.EXPAND_NAVIGATION' | translate">
|
||||||
<mat-icon>keyboard_double_arrow_right</mat-icon>
|
</adf-button>
|
||||||
</button>
|
|
||||||
<ng-content select=".aca-page-layout-header, aca-page-layout-header"></ng-content>
|
<ng-content select=".aca-page-layout-header, aca-page-layout-header"></ng-content>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@@ -28,12 +28,11 @@ import { takeUntil } from 'rxjs/operators';
|
|||||||
import { AppService } from '../../services/app.service';
|
import { AppService } from '../../services/app.service';
|
||||||
import { CommonModule } from '@angular/common';
|
import { CommonModule } from '@angular/common';
|
||||||
import { TranslateModule } from '@ngx-translate/core';
|
import { TranslateModule } from '@ngx-translate/core';
|
||||||
import { MatButtonModule } from '@angular/material/button';
|
import { ButtonComponent } from '@alfresco/adf-core';
|
||||||
import { MatIconModule } from '@angular/material/icon';
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
standalone: true,
|
standalone: true,
|
||||||
imports: [CommonModule, TranslateModule, MatButtonModule, MatIconModule],
|
imports: [CommonModule, TranslateModule, ButtonComponent],
|
||||||
selector: 'aca-page-layout',
|
selector: 'aca-page-layout',
|
||||||
templateUrl: './page-layout.component.html',
|
templateUrl: './page-layout.component.html',
|
||||||
styleUrls: ['./page-layout.component.scss'],
|
styleUrls: ['./page-layout.component.scss'],
|
||||||
|
Reference in New Issue
Block a user