mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
tmp
This commit is contained in:
@@ -100,10 +100,12 @@
|
|||||||
<ng-template #taskFormCloudButtons>
|
<ng-template #taskFormCloudButtons>
|
||||||
<div class="adf-start-process-cloud-actions">
|
<div class="adf-start-process-cloud-actions">
|
||||||
<button
|
<button
|
||||||
|
*ngIf="showCancelButton"
|
||||||
mat-button
|
mat-button
|
||||||
(click)="cancelStartProcess()"
|
(click)="cancelStartProcess()"
|
||||||
id="cancel_process">
|
id="cancel_process"
|
||||||
{{ 'ADF_CLOUD_PROCESS_LIST.ADF_CLOUD_START_PROCESS.FORM.ACTION.CANCEL' | translate | uppercase}}
|
>
|
||||||
|
{{ 'ADF_CLOUD_PROCESS_LIST.ADF_CLOUD_START_PROCESS.FORM.ACTION.CANCEL' | translate | uppercase}}
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
color="primary"
|
color="primary"
|
||||||
@@ -112,7 +114,8 @@
|
|||||||
(click)="startProcess()"
|
(click)="startProcess()"
|
||||||
data-automation-id="btn-start"
|
data-automation-id="btn-start"
|
||||||
id="button-start"
|
id="button-start"
|
||||||
class="adf-btn-start">
|
class="adf-btn-start"
|
||||||
|
>
|
||||||
{{'ADF_CLOUD_PROCESS_LIST.ADF_CLOUD_START_PROCESS.FORM.ACTION.START' | translate | uppercase}}
|
{{'ADF_CLOUD_PROCESS_LIST.ADF_CLOUD_START_PROCESS.FORM.ACTION.START' | translate | uppercase}}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
@@ -86,6 +86,10 @@ export class StartProcessCloudComponent implements OnChanges, OnInit, OnDestroy
|
|||||||
@Input()
|
@Input()
|
||||||
showTitle: boolean = true;
|
showTitle: boolean = true;
|
||||||
|
|
||||||
|
/** Show/hide cancel button. */
|
||||||
|
@Input()
|
||||||
|
showCancelButton: boolean = true;
|
||||||
|
|
||||||
/** Emitted when the process is successfully started. */
|
/** Emitted when the process is successfully started. */
|
||||||
@Output()
|
@Output()
|
||||||
success = new EventEmitter<ProcessInstanceCloud>();
|
success = new EventEmitter<ProcessInstanceCloud>();
|
||||||
|
Reference in New Issue
Block a user