|
3 | 3 | <div class="wide column">
|
4 | 4 | <div class="field">
|
5 | 5 | <label>{{'workflow_name' | translate}}*</label>
|
6 |
| - <input class="ui input" type="text" name="workflow_name" [(ngModel)]="parameterName" [disabled]="workflowTemplateInstance"> |
| 6 | + <input class="ui input" type="text" name="workflow_name" [(ngModel)]="parameterName" |
| 7 | + [disabled]="workflowTemplateInstance"> |
7 | 8 | </div>
|
8 | 9 | <app-workflow-template-param-form [project]="project" [workflowTemplate]="workflowTemplate"
|
9 |
| - [workflowTemplateInstance]="workflowTemplateInstance" (paramChange)="changeParam($event)"></app-workflow-template-param-form> |
| 10 | + [workflowTemplateInstance]="workflowTemplateInstance" (paramChange)="changeParam($event)"> |
| 11 | + </app-workflow-template-param-form> |
10 | 12 | <div class="wide field" *ngIf="result">
|
11 | 13 | <div class="ui message">
|
12 | 14 | <ul>
|
|
16 | 18 | </div>
|
17 | 19 | <div class="wide field">
|
18 | 20 | <div class="ui wide field">
|
19 |
| - <app-delete-button *ngIf="workflowTemplateInstance && workflowTemplateInstance.id" class="left floated" |
20 |
| - (event)="clickDetach()" [loading]="loading" [title]="'workflow_template_detach'"></app-delete-button> |
| 21 | + <app-delete-button *ngIf="workflowTemplateInstance && workflowTemplateInstance.id" |
| 22 | + class="left floated" (event)="clickDetach()" [loading]="loading" |
| 23 | + [title]="'workflow_template_detach'"></app-delete-button> |
21 | 24 | <div class="ui checked checkbox" *ngIf="!workflowTemplateInstance && !result">
|
22 | 25 | <input type="checkbox" [ngModel]="detached" [ngModelOptions]="{standalone: true}"
|
23 | 26 | (ngModelChange)="onSelectDetachChange($event)">
|
24 | 27 | <label>{{'workflow_template_apply_detach' | translate}}</label>
|
25 | 28 | </div>
|
26 | 29 | <button class="ui green button right floated" type="button" (click)="applyTemplate()"
|
| 30 | + *ngIf="workflowTemplateInstance.workflow_template_version !== workflowTemplate.version" |
27 | 31 | [class.loading]="loading">{{ 'btn_apply' | translate }}</button>
|
28 |
| - <button class="ui primary button right floated" type="button" (click)="goToWorkflow()" *ngIf="result && !withClose">{{ |
| 32 | + <button class="ui primary button right floated" type="button" (click)="goToWorkflow()" |
| 33 | + *ngIf="result && !withClose">{{ |
29 | 34 | 'btn_goto_workflow' | translate}}</button>
|
30 |
| - <button class="ui secondary button right floated" [disabled]="loading" (click)="clickClose()" *ngIf="withClose">{{ |
| 35 | + <button class="ui secondary button right floated" [disabled]="loading" (click)="clickClose()" |
| 36 | + *ngIf="withClose">{{ |
31 | 37 | 'btn_close' | translate }}</button>
|
32 | 38 | </div>
|
33 | 39 | </div>
|
|
0 commit comments