mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
ACA 2618 - 2619 - Share Dialog - Physical Labels (#5439)
* chore: addition of physical labels to share dialog * chore: addition of translated text * chore: addition of expiration label * Update content-node-share.dialog.scss Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<form [formGroup]="form">
|
<form [formGroup]="form">
|
||||||
<mat-form-field class="adf-full-width">
|
<mat-form-field class="adf-full-width adf-float-label" floatLabel='always'>
|
||||||
<input #sharedLinkInput data-automation-id="adf-share-link" class="adf-share-link__input" matInput
|
<input #sharedLinkInput data-automation-id="adf-share-link" class="adf-share-link__input" matInput
|
||||||
cdkFocusInitial placeholder="{{ 'SHARE.PUBLIC-LINK' | translate }}" formControlName="sharedUrl"
|
cdkFocusInitial placeholder="{{ 'SHARE.PUBLIC-LINK' | translate }}" formControlName="sharedUrl"
|
||||||
readonly="readonly">
|
readonly="readonly">
|
||||||
@@ -34,12 +34,13 @@
|
|||||||
</mat-slide-toggle>
|
</mat-slide-toggle>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<mat-form-field class="adf-full-width">
|
<mat-form-field class="adf-full-width adf-float-label" floatLabel='always'>
|
||||||
<mat-datetimepicker-toggle #matDatetimepickerToggle="matDatetimepickerToggle" [for]="datetimePicker" matSuffix></mat-datetimepicker-toggle>
|
<mat-datetimepicker-toggle #matDatetimepickerToggle="matDatetimepickerToggle" [for]="datetimePicker" matSuffix></mat-datetimepicker-toggle>
|
||||||
<mat-datetimepicker #datetimePicker (closed)="onDatetimepickerClosed()" [type]="type" timeInterval="1"></mat-datetimepicker>
|
<mat-datetimepicker #datetimePicker (closed)="onDatetimepickerClosed()" [type]="type" timeInterval="1"></mat-datetimepicker>
|
||||||
<input class="adf-share-link__input"
|
<input class="adf-share-link__input"
|
||||||
#dateTimePickerInput
|
#dateTimePickerInput
|
||||||
matInput
|
matInput
|
||||||
|
placeholder="{{ 'SHARE.EXPIRATION-LABEL' | translate }}"
|
||||||
[min]="minDate"
|
[min]="minDate"
|
||||||
formControlName="time"
|
formControlName="time"
|
||||||
[matDatetimepicker]="datetimePicker" />
|
[matDatetimepicker]="datetimePicker" />
|
||||||
|
@@ -7,7 +7,9 @@
|
|||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
opacity: 0.87;
|
opacity: 0.87;
|
||||||
}
|
}
|
||||||
|
.adf-float-label {
|
||||||
|
padding-top: 20px;
|
||||||
|
}
|
||||||
.adf-share-link-dialog {
|
.adf-share-link-dialog {
|
||||||
|
|
||||||
.adf-share-link {
|
.adf-share-link {
|
||||||
|
@@ -306,6 +306,7 @@
|
|||||||
"DESCRIPTION": "Click the link below to copy it to the clipboard.",
|
"DESCRIPTION": "Click the link below to copy it to the clipboard.",
|
||||||
"TITLE": "Link to share",
|
"TITLE": "Link to share",
|
||||||
"EXPIRES": "Expires on",
|
"EXPIRES": "Expires on",
|
||||||
|
"EXPIRATION-LABEL" : "Expiration Date",
|
||||||
"CLIPBOARD-MESSAGE": "Link copied to the clipboard",
|
"CLIPBOARD-MESSAGE": "Link copied to the clipboard",
|
||||||
"CLOSE": "Close",
|
"CLOSE": "Close",
|
||||||
"CONFIRMATION": {
|
"CONFIRMATION": {
|
||||||
|
Reference in New Issue
Block a user