aboutsummaryrefslogtreecommitdiffstats
path: root/cds-ui/client
diff options
context:
space:
mode:
authorEzhilarasi <ezhrajam@in.ibm.com>2019-08-05 17:26:50 +0530
committerEzhilarasi <ezhrajam@in.ibm.com>2019-08-05 17:26:57 +0530
commit3b9fd6d711dfda4f11d2b6327d2ae88b79fb041d (patch)
treeb7b11e5e0b90b70a86cdc0a572cf67c07fae58dd /cds-ui/client
parent5adebfcaf101c30fab21ff7ede89d3f42617f8e7 (diff)
Changed template option label
Change-Id: Iff709cefa5a76ddf1f9a9bcab49f98526283baf2 Issue-ID: CCSDK-1275 Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
Diffstat (limited to 'cds-ui/client')
-rw-r--r--cds-ui/client/src/app/feature-modules/blueprint/select-template/template-options/template-options.component.html6
-rw-r--r--cds-ui/client/src/app/feature-modules/blueprint/select-template/template-options/template-options.component.ts10
2 files changed, 6 insertions, 10 deletions
diff --git a/cds-ui/client/src/app/feature-modules/blueprint/select-template/template-options/template-options.component.html b/cds-ui/client/src/app/feature-modules/blueprint/select-template/template-options/template-options.component.html
index 1e8f469b6..101bf06d9 100644
--- a/cds-ui/client/src/app/feature-modules/blueprint/select-template/template-options/template-options.component.html
+++ b/cds-ui/client/src/app/feature-modules/blueprint/select-template/template-options/template-options.component.html
@@ -19,7 +19,7 @@ limitations under the License.
============LICENSE_END============================================
-->
<mat-radio-group>
- <mat-radio-button value="1" (click)="selected(1)">Upload From local</mat-radio-button><br> <br>
- <mat-radio-button value="2" (click)="selected(2)">Existing Template File</mat-radio-button><br> <br>
- <mat-radio-button value="3" (click)="selected(3)">Create New</mat-radio-button>
+ <mat-radio-button value="1" (click)="selected(1)">Upload from local</mat-radio-button><br> <br>
+ <mat-radio-button value="2" (click)="selected(2)">Search from Existing Template </mat-radio-button><br> <br>
+ <mat-radio-button value="3" (click)="selected(3)">Create new</mat-radio-button>
</mat-radio-group> \ No newline at end of file
diff --git a/cds-ui/client/src/app/feature-modules/blueprint/select-template/template-options/template-options.component.ts b/cds-ui/client/src/app/feature-modules/blueprint/select-template/template-options/template-options.component.ts
index 3b598b24e..58fd57b8f 100644
--- a/cds-ui/client/src/app/feature-modules/blueprint/select-template/template-options/template-options.component.ts
+++ b/cds-ui/client/src/app/feature-modules/blueprint/select-template/template-options/template-options.component.ts
@@ -19,8 +19,8 @@ limitations under the License.
============LICENSE_END============================================
*/
-import { Component, OnInit, Output, EventEmitter} from '@angular/core';
-import { HttpClient } from '@angular/common/http';
+import { Component, OnInit, Output, EventEmitter } from '@angular/core';
+
@Component({
selector: 'app-template-options',
templateUrl: './template-options.component.html',
@@ -35,11 +35,7 @@ export class TemplateOptionsComponent implements OnInit {
ngOnInit() {
}
- selected(value){
- console.log(value);
+ selected(value) {
this.option.emit(value);
}
- // loadTemplateData() {
- // // to do
- // }
}