diff --git a/modules/core/client/app/trans-string-en.js b/modules/core/client/app/trans-string-en.js index 067599f2..210dbdb3 100644 --- a/modules/core/client/app/trans-string-en.js +++ b/modules/core/client/app/trans-string-en.js @@ -485,6 +485,8 @@ REMOVE_WARNING_SUCCESSFULLY: 'Remove warning successfully', REMOVE_WARNING_ERROR: 'Remove warning failed', REMOVE_WARNING_NO_ENOUGH_SCORE: 'ERROR: no enough score!', + WARNING_TOOLTIP: 'You have {{wnumber}} H&R warnings, please deal with it immediately, ', + WARNING_DETAIL_LINK: 'detail is here', //user score SCORE: { diff --git a/modules/core/client/app/trans-string-zh.js b/modules/core/client/app/trans-string-zh.js index 88c4fb13..c29d29d0 100644 --- a/modules/core/client/app/trans-string-zh.js +++ b/modules/core/client/app/trans-string-zh.js @@ -485,6 +485,8 @@ REMOVE_WARNING_SUCCESSFULLY: '警告移除成功', REMOVE_WARNING_ERROR: '警告移除失败', REMOVE_WARNING_NO_ENOUGH_SCORE: '错误: 积分不足!', + WARNING_TOOLTIP: '您有 {{wnumber}} 个 H&R 警告, 请立即处理, ', + WARNING_DETAIL_LINK: '查看详情', //user score SCORE: { diff --git a/modules/users/client/views/status/account.client.view.html b/modules/users/client/views/status/account.client.view.html index e34a465b..150efa87 100644 --- a/modules/users/client/views/status/account.client.view.html +++ b/modules/users/client/views/status/account.client.view.html @@ -1,6 +1,11 @@ + + + {{'WARNING_DETAIL_LINK' | translate}} + + {{ 'STATUS_FIELD.PICTURE' | translate}}: @@ -107,7 +112,7 @@ {{ 'STATUS_FIELD.UPTOTAL' | translate}}: {{ vm.user.uptotal }} {{ 'STATUS_FIELD.DETAIL' | translate }} + ng-if="vm.user.uptotal>0">{{ 'STATUS_FIELD.DETAIL' | translate }} {{ 'STATUS_FIELD.SEEDED' | translate}}: {{ vm.user.seeded }} - - + + @@ -121,7 +121,9 @@ - {{'BTN_REMOVE_WARNING' | translate}} + {{'BTN_REMOVE_WARNING' | translate}} +