Remove ECOMP in headers
[clamp.git] / src / main / resources / META-INF / resources / designer / partials / menu.html
index dd4dae4..2aea316 100644 (file)
@@ -2,7 +2,7 @@
   ============LICENSE_START=======================================================
   ONAP CLAMP
   ================================================================================
-  Copyright (C) 2017 AT&T Intellectual Property. All rights
+  Copyright (C) 2017-2018 AT&T Intellectual Property. All rights
                               reserved.
   ================================================================================
   Licensed under the Apache License, Version 2.0 (the "License"); 
@@ -18,7 +18,7 @@
   limitations under the License.
   ============LICENSE_END============================================
   ===================================================================
-  ECOMP is a trademark and service mark of AT&T Intellectual Property.
+  
   -->
 
 <style>
                                                <li ng-repeat="section in tabs[dropDownName]"
                                                        ng-if="section.name==='Create CL'"><a
                                                        id="{{section.name}}" role="presentation"
-                                                       ng-click="emptyMenuClick(section.link,section.name)">{{section.name}}</a>
+                                                       ng-click="emptyMenuClick(section.link,section.name)"
+                                                       ng-class="{true:'ThisLink', false:''}[!(userInfo['permissionUpdateCl'])]">{{section.name}}</a>
                                                </li>
                                                
                                                <li ng-repeat="section in tabs[dropDownName]"
                                                </li>
                                                
                                                <li ng-repeat="section in tabs[dropDownName]"
-                                                       ng-if="section.name==='Create Template'"><a
+                                                       ng-if="section.name==='Log Out'"><a
                                                        id="{{section.name}}" role="presentation"
                                                        ng-click="emptyMenuClick(section.link,section.name)">{{section.name}}</a>
                                                </li>
-                                               
-                                               <li ng-repeat="section in tabs[dropDownName]"
-                                                       ng-if="section.name==='Open Template'"><a
-                                                       id="{{section.name}}" role="presentation"
-                                                       ng-click="emptyMenuClick(section.link,section.name)">{{section.name}}</a>
-                                               </li>
-                                                                                       
+
                                                <li ng-repeat="section in tabs[dropDownName]"
-                                                       ng-if="section.name != 'Create CL' && section.name != 'Create Template' && section.name != 'Open CL' && section.name != 'Open Template' && section.name != 'ONAP User Guide - Design Overview' && section.name != 'ONAP User Guide - Closed Loop Design' && section.name != 'ONAP User Guide - CLAMP'"><a
+                                                       ng-if="section.name != 'Create CL' && section.name != 'Open CL' && section.name != 'ECOMP User Guide - Design Overview' && section.name != 'ECOMP User Guide - Closed Loop Design' && section.name != 'ECOMP User Guide - CLAMP' && section.name != 'User Info'"><a
                                                        id="{{section.name}}" role="presentation"
                                                        ng-click="emptyMenuClick(section.link,section.name)"
                                                        class="ThisLink">{{section.name}}</a>
                                           </li>
-                                          
+                                          <li ng-repeat="section in tabs[dropDownName]"
+                                                       ng-if="section.name==='User Info'"><a
+                                                       id="{{section.name}}" role="presentation"
+                                                       ng-click="emptyMenuClick(section.link,section.name)">{{section.name}}</a>
+                                               </li>
                                           <li ng-repeat="section in tabs[dropDownName]"
                                                        ng-if="section.name == 'ONAP User Guide - Design Overview' || section.name == 'ONAP User Guide - Closed Loop Design' || section.name == 'ONAP User Guide - CLAMP'"><a
                                                        id="{{section.name}}" role="presentation"
                                <li class="dropdown" style="height: inherit"><a
                                        class="navbar-brand logo_name" active-link="active"
                                        class="dropdown-toggle dropdownTitle" role="button"
-                                       data-toggle="dropdown" style="height: inherit;">Hello:
-                                               {{loginuser}} </a></li>
+                                       data-toggle="dropdown" style="height: inherit;">Hello:{{loginuser}} </a></li>
                        </ul>
                </div>