From ab6232e2decaed14094bddecefa641648514701b Mon Sep 17 00:00:00 2001 From: "Shijun Sun (c)" Date: Mon, 26 Aug 2019 15:33:15 +0800 Subject: [PATCH] Improvement for rule validator of tag-retention UI and modify for errer message Signed-off-by: Shijun Sun (c) --- .../add-rule/add-rule.component.html | 2 + .../add-rule/add-rule.component.scss | 4 ++ .../add-rule/add-rule.component.ts | 69 +++++++++++++++++-- .../tag-retention.component.html | 2 +- .../tag-retention/tag-retention.component.ts | 16 ++++- src/portal/src/i18n/lang/en-us-lang.json | 5 +- src/portal/src/i18n/lang/es-es-lang.json | 5 +- src/portal/src/i18n/lang/fr-fr-lang.json | 5 +- src/portal/src/i18n/lang/pt-br-lang.json | 5 +- src/portal/src/i18n/lang/tr-tr-lang.json | 5 +- src/portal/src/i18n/lang/zh-cn-lang.json | 8 ++- 11 files changed, 109 insertions(+), 17 deletions(-) diff --git a/src/portal/src/app/project/tag-retention/add-rule/add-rule.component.html b/src/portal/src/app/project/tag-retention/add-rule/add-rule.component.html index 87a961d79..7e36cd6cb 100644 --- a/src/portal/src/app/project/tag-retention/add-rule/add-rule.component.html +++ b/src/portal/src/app/project/tag-retention/add-rule/add-rule.component.html @@ -3,6 +3,7 @@