From 88f1e198aa8a9c221b96410730a8fdbce9edb112 Mon Sep 17 00:00:00 2001 From: AllForNothing Date: Mon, 19 Aug 2019 18:11:49 +0800 Subject: [PATCH] 1.add ids to key elements of CVE-whitelist UI for easy test 2.change decrible in UI Signed-off-by: AllForNothing --- .../src/config/system/system-settings.component.html | 6 +++--- .../project-policy-config.component.html | 12 ++++++------ src/portal/src/i18n/lang/en-us-lang.json | 4 ++-- src/portal/src/i18n/lang/es-es-lang.json | 4 ++-- src/portal/src/i18n/lang/fr-fr-lang.json | 4 ++-- src/portal/src/i18n/lang/pt-br-lang.json | 4 ++-- 6 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/portal/lib/src/config/system/system-settings.component.html b/src/portal/lib/src/config/system/system-settings.component.html index 82f83f024..72b9458f6 100644 --- a/src/portal/lib/src/config/system/system-settings.component.html +++ b/src/portal/lib/src/config/system/system-settings.component.html @@ -95,7 +95,7 @@
-
@@ -103,13 +103,13 @@
- {{'CVE_WHITELIST.HELP'|translate}}
-
diff --git a/src/portal/lib/src/project-policy-config/project-policy-config.component.html b/src/portal/lib/src/project-policy-config/project-policy-config.component.html index 01df1bbba..8d5e69f81 100644 --- a/src/portal/lib/src/project-policy-config/project-policy-config.component.html +++ b/src/portal/lib/src/project-policy-config/project-policy-config.component.html @@ -89,12 +89,12 @@
- - @@ -102,10 +102,10 @@
- -
@@ -113,12 +113,12 @@
- + {{'CVE_WHITELIST.HELP'|translate}}
-
diff --git a/src/portal/src/i18n/lang/en-us-lang.json b/src/portal/src/i18n/lang/en-us-lang.json index ae060f0f8..894f25132 100644 --- a/src/portal/src/i18n/lang/en-us-lang.json +++ b/src/portal/src/i18n/lang/en-us-lang.json @@ -1124,8 +1124,8 @@ "EXPIRES_AT": "Expires at", "NEVER_EXPIRES": "Never expires", "PRO_WHITELIST_EXPLAIN": "Project whitelist allows vulnerabilities in this list to be ignored in this project when pushing and pulling images.", - "PRO_OR_SYS": "Use the system whitelist as is or select “Project whitelist” to create a new whitelist.", - "MERGE_INTO": "Merge the system whitelist into this project, add individual CVE IDs.", + "PRO_OR_SYS": "You can either use the default whitelist configured at the system level or click on 'Project whitelist' to create a new whitelist", + "MERGE_INTO": "Add individual CVE IDs before clicking 'ADD SYSTEM' to add system whitelist as well.", "SYS_WHITELIST": "System whitelist", "PRO_WHITELIST": "Project whitelist", "ADD_SYSTEM": "ADD SYSTEM" diff --git a/src/portal/src/i18n/lang/es-es-lang.json b/src/portal/src/i18n/lang/es-es-lang.json index df102d442..5272c15cf 100644 --- a/src/portal/src/i18n/lang/es-es-lang.json +++ b/src/portal/src/i18n/lang/es-es-lang.json @@ -1121,8 +1121,8 @@ "EXPIRES_AT": "Expires at", "NEVER_EXPIRES": "Never expires", "PRO_WHITELIST_EXPLAIN": "Project whitelist allows vulnerabilities in this list to be ignored in this project when pushing and pulling images.", - "PRO_OR_SYS": "Use the system whitelist as is or select “Project whitelist” to create a new whitelist.", - "MERGE_INTO": "Merge the system whitelist into this project, add individual CVE IDs.", + "PRO_OR_SYS": "You can either use the default whitelist configured at the system level or click on 'Project whitelist' to create a new whitelist", + "MERGE_INTO": "Add individual CVE IDs before clicking 'ADD SYSTEM' to add system whitelist as well.", "SYS_WHITELIST": "System whitelist", "PRO_WHITELIST": "Project whitelist", "ADD_SYSTEM": "ADD SYSTEM" diff --git a/src/portal/src/i18n/lang/fr-fr-lang.json b/src/portal/src/i18n/lang/fr-fr-lang.json index ae3d5faa3..153d43a5b 100644 --- a/src/portal/src/i18n/lang/fr-fr-lang.json +++ b/src/portal/src/i18n/lang/fr-fr-lang.json @@ -1093,8 +1093,8 @@ "EXPIRES_AT": "Expires at", "NEVER_EXPIRES": "Never expires", "PRO_WHITELIST_EXPLAIN": "Project whitelist allows vulnerabilities in this list to be ignored in this project when pushing and pulling images.", - "PRO_OR_SYS": "Use the system whitelist as is or select “Project whitelist” to create a new whitelist.", - "MERGE_INTO": "Merge the system whitelist into this project, add individual CVE IDs.", + "PRO_OR_SYS": "You can either use the default whitelist configured at the system level or click on 'Project whitelist' to create a new whitelist", + "MERGE_INTO": "Add individual CVE IDs before clicking 'ADD SYSTEM' to add system whitelist as well.", "SYS_WHITELIST": "System whitelist", "PRO_WHITELIST": "Project whitelist", "ADD_SYSTEM": "ADD SYSTEM" diff --git a/src/portal/src/i18n/lang/pt-br-lang.json b/src/portal/src/i18n/lang/pt-br-lang.json index 13e36487d..f1593670f 100644 --- a/src/portal/src/i18n/lang/pt-br-lang.json +++ b/src/portal/src/i18n/lang/pt-br-lang.json @@ -1118,8 +1118,8 @@ "EXPIRES_AT": "Expires at", "NEVER_EXPIRES": "Never expires", "PRO_WHITELIST_EXPLAIN": "Project whitelist allows vulnerabilities in this list to be ignored in this project when pushing and pulling images.", - "PRO_OR_SYS": "Use the system whitelist as is or select “Project whitelist” to create a new whitelist.", - "MERGE_INTO": "Merge the system whitelist into this project, add individual CVE IDs.", + "PRO_OR_SYS": "You can either use the default whitelist configured at the system level or click on 'Project whitelist' to create a new whitelist", + "MERGE_INTO": "Add individual CVE IDs before clicking 'ADD SYSTEM' to add system whitelist as well.", "SYS_WHITELIST": "System whitelist", "PRO_WHITELIST": "Project whitelist", "ADD_SYSTEM": "ADD SYSTEM"