mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2055] Ability to pre-populate form with a file and values (#2834)
* fix translations form * fix style webpack script * fix tslint error problem in viewer * fix naming problems in attach file widget * add start process form values data initialization option * fix translation problems * missing return type * start process name configuration * add CS cross PS configuration * start process from file example * fix minor issues * add documentation and move the dialog in a separate component * easy test select app * alfrescoRepositoryName right property * file conversion test * fix issue after CR * Remove forgotten semicolon.
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
<button mat-menu-item (click)="uploadFile.click()"
|
||||
id="attach-local-file"
|
||||
*ngIf="isAllFileSourceSelected()">
|
||||
From HD
|
||||
{{ 'FORM.FIELD.LOCALSTORAGE' | translate }}
|
||||
<mat-icon>file_upload</mat-icon>
|
||||
<input #uploadFile
|
||||
class="adf-attach-widget__input-type"
|
||||
@@ -38,18 +38,18 @@
|
||||
*ngIf="isDefinedSourceFolder()"
|
||||
id="attach-{{field.params?.fileSource?.name}}"
|
||||
(click)="openSelectDialogFromFileSource()">
|
||||
From {{field.params?.fileSource?.name}}
|
||||
{{field.params?.fileSource?.name}}
|
||||
<mat-icon>
|
||||
<img class="adf-attach-widget__image-logo" [src]="alfrescoLogoUrl">
|
||||
<img class="adf-attach-widget__image-logo" src="../assets/images/alfresco-flower.svg">
|
||||
</mat-icon>
|
||||
</button>
|
||||
<div *ngIf="!isDefinedSourceFolder()">
|
||||
<button mat-menu-item *ngFor="let repo of repositoryList"
|
||||
id="attach-{{repo?.name}}"
|
||||
(click)="openSelectDialog(repo.id, repo.name)">
|
||||
From {{repo.name}}
|
||||
{{repo.name}}
|
||||
<mat-icon>
|
||||
<img class="adf-attach-widget__image-logo" [src]="alfrescoLogoUrl">
|
||||
<img class="adf-attach-widget__image-logo" src="../assets/images/alfresco-flower.svg">
|
||||
</mat-icon>
|
||||
</button>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user