diff options
author | Dan Timoney <dtimoney@att.com> | 2019-03-07 19:08:10 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-03-07 19:08:10 +0000 |
commit | 9effeea959df66400a10321afcd05d12a1abbf9f (patch) | |
tree | 3adecaf8583d0c2cac5b4567b34a778a847f963b /cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.html | |
parent | 53609a8d28e1ca0566c01ca1c8fa325be205c656 (diff) | |
parent | c2ac1e52d88e4d590e2fa0e29b9af1431afef0dc (diff) |
Merge "File Download"
Diffstat (limited to 'cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.html')
-rw-r--r-- | cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.html b/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.html index 4c1a7dc9e..d7ba14072 100644 --- a/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.html +++ b/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.html @@ -25,7 +25,7 @@ limitations under the License. <mat-tree-node *matTreeNodeDef="let node" matTreeNodePadding> <!-- use a disabled button to provide padding for tree leaf --> <button mat-icon-button disabled></button> - <span (click)="fileClicked(node.name)">{{node.name}}</span> + <button mat-icon-button (click)="selectFileToView(node)">{{node.name}}</button> </mat-tree-node> <!-- This is the tree node template for expandable nodes --> <mat-tree-node *matTreeNodeDef="let node;when: hasChild" matTreeNodePadding> @@ -34,7 +34,7 @@ limitations under the License. {{treeControl.isExpanded(node) ? 'expand_more' : 'chevron_right'}} </mat-icon> </button> - <span (click)="fileClicked(node.name)">{{node.name}}</span> + <button mat-icon-button (click)="selectFileToView(node)">{{node.name}}</button> </mat-tree-node> </mat-tree> </div> @@ -43,5 +43,6 @@ limitations under the License. </div> </div> <div style="position:relative"> - <button mat-button class="savebtn" (click)="updateBlueprint()">Save</button> + <button mat-button class="savebtn" (click)="updateBlueprint();SaveToBackend()">Save</button> + <button mat-button class="savebtn" (click)="download();">Download</button> </div>
\ No newline at end of file |