Do not show error message when re-enter enabling monitoring page

This commit is contained in:
loganhz 2018-12-09 08:03:15 +08:00
parent 02a53c3815
commit 86f102c1ab
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
{{#if enabled}}
{{#banner-message color=(if (or isReady justDeployed) 'bg-success' 'bg-error') icon=(if (or isReady justDeployed) 'icon-check' 'icon-alert')}}
{{#banner-message color=(if (or isReady justDeployed) 'bg-success' 'bg-info') icon='icon-check'}}
{{#if (eq level 'cluster')}}
<p>
{{t (concat 'monitoringPage.cluster.' status) htmlSafe=true}} <a href="{{href-to 'apps-tab' cluster.systemProject.id}}">{{cluster.systemProject.displayName}}</a> {{t 'generic.project'}}.