mirror of https://github.com/rancher/ui.git
commit
f05db0200e
|
|
@ -41,11 +41,7 @@ export default Controller.extend({
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
showWarning: function() {
|
|
||||||
return this.get('prefs.projects-warning') !== 'hide';
|
|
||||||
}.property('prefs.projects-warning'),
|
|
||||||
showClusterWelcome: function() {
|
showClusterWelcome: function() {
|
||||||
|
|
||||||
return this.get('scope.currentCluster.state') === 'inactive' && !this.get('nodes.length');
|
return this.get('scope.currentCluster.state') === 'inactive' && !this.get('nodes.length');
|
||||||
}.property('scope.currentCluster.state','nodes.[]'),
|
}.property('scope.currentCluster.state','nodes.[]'),
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1 @@
|
||||||
{{#if showWarning}}
|
|
||||||
{{banner-message
|
|
||||||
color="bg-warning mt-0 mb-10"
|
|
||||||
icon="icon icon-garbage"
|
|
||||||
message="Under construction: Many areas of managing resources within a project are currently incomplete."
|
|
||||||
showClose=true
|
|
||||||
close=(action "hideWarning")
|
|
||||||
}}
|
|
||||||
{{/if}}
|
|
||||||
|
|
||||||
{{outlet}}
|
{{outlet}}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue