re base code
[sdc.git] / catalog-ui / src / app / ng2 / components / logic / service-path / service-path.component.html
index ff7902e..75f0642 100644 (file)
@@ -1,22 +1,15 @@
 <div class='service-path'>
        <button class='zoom-icons create-path-button' data-tests-id="pathsMenuBtn" (click)="showServicePathMenu = !showServicePathMenu">...</button>
-       <div class="service-path-menu"
-                *ngIf="showServicePathMenu" >
+       <div class="service-path-menu" *ngIf="showServicePathMenu">
                <div >
                        <ul>
-                               <li><div class="hand" (click)="onCreateServicePath()" data-tests-id="createPathMenuItem">
-                                       Create Service Path
+                               <li *ngIf='!isViewOnly'><div class="hand" (click)="onCreateServicePath()" data-tests-id="createPathMenuItem">
+                                       Create Service Flow
                                </div></li>
                                <li><div class="hand" (click)="onListServicePath()" data-tests-id="pathsListMenuItem">
-                                       Service Paths List
+                                       Service Flows List
                                </div></li>
                        </ul>
                </div>
        </div>
-       <!-- TODO  - ask Orit about positioning issues and styling issues -->
-       <!--
-       <menu-list [open]="showServicePathMenu" [position]="menuPos" >
-               <menu-item [action]="onCreateServicePath">Create Path</menu-item>
-               <menu-item [action]="onListServicePath">Paths' List</menu-item>
-       </menu-list> -->
 </div>
\ No newline at end of file