Modify html label to support multi-language
[portal.git] / ecomp-portal-FE-os / client / src / views / applications / applications.tpl.html
index fa61e55..aaba92b 100644 (file)
@@ -1,28 +1,46 @@
 <!--
-  ================================================================================
-  eCOMP Portal
-  ================================================================================
-  Copyright (C) 2017 AT&T Intellectual Property
-  ================================================================================
-  Licensed under the Apache License, Version 2.0 (the "License");
-  you may not use this file except in compliance with the License.
+  ============LICENSE_START==========================================
+  ONAP Portal
+  ===================================================================
+  Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+  ===================================================================
+  Unless otherwise specified, all software contained herein is licensed
+  under the Apache License, Version 2.0 (the "License");
+  you may not use this software except in compliance with the License.
   You may obtain a copy of the License at
-  
-       http://www.apache.org/licenses/LICENSE-2.0
-  
+              http://www.apache.org/licenses/LICENSE-2.0
   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
-  ================================================================================
+  Unless otherwise specified, all documentation contained herein is licensed
+  under the Creative Commons License, Attribution 4.0 Intl. (the "License");
+  you may not use this documentation except in compliance with the License.
+  You may obtain a copy of the License at
+              https://creativecommons.org/licenses/by/4.0/
+  Unless required by applicable law or agreed to in writing, documentation
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+  ============LICENSE_END============================================
+  
   -->
 <div class="w-ecomp-main">
     <div class="w-ecomp-main-container">
 
         <div class="applications-page-main" id="page-content">
             <div id='app-title' class="w-ecomp-main-view-title">
-                <h1 class="heading-page" >Application Onboarding</h1>           
+                <h1 class="heading-page" >{{'Application Onboarding'|T}}</h1>           
             </div>
             <div class="apps-table">
                 <div class="table-control">
@@ -32,7 +50,7 @@
                                                </div>
                                        </div>    
                                        <div class="table-control-buttons">
-                                               <button class="btn btn-alt btn-small" ng-click="apps.openAddNewAppModal()"><i class="icon-people-userbookmark" aria-hidden="true"></i>&nbsp;Add App</button> 
+                                               <button class="btn btn-alt btn-small" ng-click="apps.openAddNewAppModal()"><i class="icon-people-userbookmark" aria-hidden="true"></i>&nbsp;{{'Add App'|T}}</button> 
                                        </div> 
                 </div>
                 <span class="ecomp-spinner" ng-show="apps.isLoadingTable"></span>
@@ -51,6 +69,8 @@
                                    <th b2b-table-header id="app-header-Topic" sortable="false">Communication Topic</th>
                                    <th b2b-table-header id="app-header-CommKey" sortable="false">Communication Key</th>
                                    <th b2b-table-header id="app-header-Secret" sortable="false">Communication Secret</th>
+                                   <th b2b-table-header id="app-header-namespace" sortable="false">Application Namespace</th>
+                                   <th b2b-table-header id="app-header-central-auth" sortable="false">Central Auth Access</th>  
                                    <th b2b-table-header id="app-header-delete" sortable="false">Delete</th>                                                                
                                                        </tr>
                                                </thead>
@@ -68,7 +88,9 @@
                                                        <td b2b-table-body headers="rowheader_t1_{{$index}} col11" ng-click="apps.openAddNewAppModal(rowData)"ng-bind="rowData.uebTopicName"></td>      
                                        <td b2b-table-body headers="rowheader_t1_{{$index}} col12" ng-click="apps.openAddNewAppModal(rowData)"ng-bind="rowData.uebKey"></td>    
                                                <td b2b-table-body headers="rowheader_t1_{{$index}} col13" ng-click="apps.openAddNewAppModal(rowData)"ng-bind="rowData.uebSecret"></td> 
-                                                       <td b2b-table-body headers="rowheader_t1_{{$index}} col14" >
+                                                       <td b2b-table-body headers="rowheader_t1_{{$index}} col14" ng-click="apps.openAddNewAppModal(rowData)"ng-bind="rowData.nameSpace"></td> 
+                                               <td b2b-table-body headers="rowheader_t1_{{$index}} col15" ng-click="apps.openAddNewAppModal(rowData)">{{(rowData.isCentralAuth) ? 'yes' : 'no'}}</td>  
+                                                       <td b2b-table-body headers="rowheader_t1_{{$index}} col16" >
                                                                <span class="icon-misc-trash" ng-click="apps.deleteApp(rowData)"></span>
                                                        </td>           
                                                        </tr>