mirror of https://github.com/rancher/ui.git
More isReady
This commit is contained in:
parent
4054bafc2f
commit
14f6ed8229
|
|
@ -1,6 +1,6 @@
|
|||
{{#unless model.isReady}}
|
||||
{{#unless model.isActive}}
|
||||
{{#banner-message color='bg-error m-0'}}
|
||||
<p>{{t 'clusterDashboard.notReady' state=model.displayState htmlSafe=true}}</p>
|
||||
<p>{{t (if model.isReady 'clusterDashboard.notActive' 'clusterDashboard.notReady') state=model.displayState htmlSafe=true}}</p>
|
||||
{{#if model.showTransitioningMessage}}
|
||||
<p class="{{model.stateColor}}">{{uc-first model.transitioningMessage}}</p>
|
||||
{{/if}}
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@
|
|||
Cluster: {{entry.cluster.displayName}}
|
||||
{{/link-to}}
|
||||
</li>
|
||||
{{#if (eq entry.cluster.relevantState 'active')}}
|
||||
{{#if entry.cluster.isReady}}
|
||||
{{#each entry.projects as |p|}}
|
||||
<li class="{{if (and (eq pageScope "project") p.active) 'active selected' (unless entry.active 'inactive')}} subitem text-muted">
|
||||
{{#link-to 'authenticated.project' p.id class="clip project-link"}}
|
||||
|
|
|
|||
|
|
@ -695,6 +695,7 @@ clusterDashboard:
|
|||
scheduler: Scheduler
|
||||
controllerManager: Controller Manager
|
||||
value: Value
|
||||
notActive: This cluster is currently <b>{state}</b>.
|
||||
notReady: This cluster is currently <b>{state}</b>; areas that interact directly with the it will not be available until the API becomes ready to communicate with.
|
||||
noNodes: There are no nodes.
|
||||
alert:
|
||||
|
|
|
|||
Loading…
Reference in New Issue