mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-2717] Long names fixed in lock dialog (#3225)
* [ADF-2717] Long names fixed in lock dialog * [ADF-2717] Removed unused imports in version-list tests
This commit is contained in:
committed by
Eugenio Romano
parent
edee2f12b6
commit
40b4fc7d66
@@ -6,6 +6,22 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.adf-lock-file-name {
|
||||||
|
.mat-checkbox-layout{
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mat-checkbox-label{
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mat-checkbox-inner-container{
|
||||||
|
margin: auto 0;
|
||||||
|
margin-right: 8px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@mixin adf-dialog-theme($theme) {
|
@mixin adf-dialog-theme($theme) {
|
||||||
|
|
||||||
$primary: map-get($theme, primary);
|
$primary: map-get($theme, primary);
|
||||||
|
@@ -5,20 +5,20 @@
|
|||||||
<mat-dialog-content>
|
<mat-dialog-content>
|
||||||
<br />
|
<br />
|
||||||
<form [formGroup]="form" (submit)="submit()">
|
<form [formGroup]="form" (submit)="submit()">
|
||||||
<mat-checkbox [formControl]="form.controls['isLocked']" ngDefaultControl>
|
<mat-checkbox class="adf-lock-file-name" [formControl]="form.controls['isLocked']" ngDefaultControl>
|
||||||
{{ 'CORE.FILE_DIALOG.FILE_LOCK_CHECKBOX' | translate }} <strong>"{{ nodeName }}"</strong>
|
{{ 'CORE.FILE_DIALOG.FILE_LOCK_CHECKBOX' | translate }} <strong>"{{ nodeName }}"</strong>
|
||||||
</mat-checkbox>
|
</mat-checkbox>
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<div *ngIf="form.value.isLocked">
|
<div *ngIf="form.value.isLocked">
|
||||||
<mat-checkbox [formControl]="form.controls['allowOwner']" ngDefaultControl>
|
<mat-checkbox class="adf-lock-file-name" [formControl]="form.controls['allowOwner']" ngDefaultControl>
|
||||||
{{ 'CORE.FILE_DIALOG.ALLOW_OTHERS_CHECKBOX' | translate }}
|
{{ 'CORE.FILE_DIALOG.ALLOW_OTHERS_CHECKBOX' | translate }}
|
||||||
</mat-checkbox>
|
</mat-checkbox>
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<mat-checkbox [formControl]="form.controls['isTimeLock']" ngDefaultControl>
|
<mat-checkbox class="adf-lock-file-name" [formControl]="form.controls['isTimeLock']" ngDefaultControl>
|
||||||
{{ 'CORE.FILE_DIALOG.TIME_LOCK_CHECKBOX' | translate }}
|
{{ 'CORE.FILE_DIALOG.TIME_LOCK_CHECKBOX' | translate }}
|
||||||
</mat-checkbox>
|
</mat-checkbox>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user