User and service type management interface 16/87216/1
authorguochuyicmri <guochuyi@chinamobile.com>
Wed, 8 May 2019 07:15:13 +0000 (15:15 +0800)
committerguochuyicmri <guochuyi@chinamobile.com>
Wed, 8 May 2019 07:15:18 +0000 (15:15 +0800)
Change-Id: I82cd0af64f87bd8f49a5a40d13130bca110491e1
Issue-ID: USECASEUI-212
Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
usecaseui-portal/src/app/home/home.component.ts
usecaseui-portal/src/app/management/management.component.html

index d0e6ef0..ba0ae68 100644 (file)
@@ -149,10 +149,10 @@ export class HomeComponent implements OnInit {
                     }, {
                         offset: 1, color: '#7A8BAE' 
                     }],
-                    globalCoord: false // 缺省为 false
+                    globalCoord: false
                 }],
             series: [{
-                name: "告警信息",
+                name: "",
                 radius: ['50%', '70%'],
                 center: ['50%', '45%'],
                 label: {
@@ -244,7 +244,7 @@ export class HomeComponent implements OnInit {
             })
     }
 
-  // alarm lin
+  // alarm line
   alarmLineChartData:Object;
   alarmLineChartInit:Object = {
     height:320,
index 52a261b..94361a5 100644 (file)
 <div class="content" style="padding: 20px 20px;height: 100vh">
   <div class="management"  *ngIf="nocuster" >
     <div class="title">
-      <p>Create initial customer</p>
-      <span>Customer has not been created in ONAP </span>
-      <span>please create customer and its service type</span>
+      <p> {{"i18nTextDefine_Create_initial_customer" | translate}} </p>
+      <span> {{"i18nTextDefine_Customer_not_in_ONAP" | translate}} </span>
+      <span> {{"i18nTextDefine_createCustomer&serviceType" | translate}} </span>
       <img src="../../assets/images/customer01.png" alt="">
-      <input nz-input placeholder="input customer name" nzSize="large" style="height: 50px" [(ngModel)]="firstCustomer">
+      <input nz-input placeholder=" {{'i18nTextDefine_input_customerName' | translate}} " nzSize="large" style="height: 50px" [(ngModel)]="firstCustomer">
       <div class="action">
-        <button nz-button nzType="primary" class="cancel" (click) = "clearCustomerInput()">Cancel</button>
-        <button nz-button nzType="primary" class="add" (click) = "createNewCustomer(firstCustomer)">Add</button>
+        <button nz-button nzType="primary" class="cancel" (click) = "clearCustomerInput()"> {{"i18nTextDefine_Cancel" | translate}} </button>
+        <button nz-button nzType="primary" class="add" (click) = "createNewCustomer(firstCustomer)"> {{"i18nTextDefine_Add" | translate}} </button>
       </div>
     </div>
     <div class="image">