3 * Copyright (c) 2017 ZTE Corporation.
4 * All rights reserved. This program and the accompanying materials
5 * are made available under the terms of the Eclipse Public License v1.0
6 * and the Apache License 2.0 which both accompany this distribution,
7 * and are available at http://www.eclipse.org/legal/epl-v10.html
8 * and http://www.apache.org/licenses/LICENSE-2.0
11 * ZTE - initial API and implementation and/or initial documentation
14 <span *ngIf="!isEditing()">
15 <span (dblclick)="startEdit()">{{parameter.value}}</span>
16 <i class="fa fa-edit" (click)="startEdit()"></i>
18 <span class="row" *ngIf="isEditing()">
19 <span class="col-sm-10">
20 <b4t-parameter [param]="parameter" [showLabel]="showLabel" [valueSource]= "valueSource"></b4t-parameter>
22 <span class="col-sm-2">
23 <i class="fa fa-check" (click)="completeEdit()"></i>