mirror of https://github.com/rancher/ui.git
No simple mode
This commit is contained in:
parent
777a98f910
commit
e8ef022974
|
|
@ -39,6 +39,8 @@ export default Ember.Controller.extend({
|
||||||
return this.get('projects.currentCluster.state') === 'inactive' && !this.get('hosts.length');
|
return this.get('projects.currentCluster.state') === 'inactive' && !this.get('hosts.length');
|
||||||
}.property('projects.currentCluster.state','hosts.[]'),
|
}.property('projects.currentCluster.state','hosts.[]'),
|
||||||
|
|
||||||
|
simpleMode: false,
|
||||||
|
/*
|
||||||
simpleMode: function() {
|
simpleMode: function() {
|
||||||
let list = this.get('stacks');
|
let list = this.get('stacks');
|
||||||
if ( !this.get('prefs.showSystemResources') ) {
|
if ( !this.get('prefs.showSystemResources') ) {
|
||||||
|
|
@ -48,6 +50,7 @@ export default Ember.Controller.extend({
|
||||||
let bad = list.findBy('isDefault', false);
|
let bad = list.findBy('isDefault', false);
|
||||||
return !bad;
|
return !bad;
|
||||||
}.property('stacks.@each.{system,isDefault}','prefs.showSystemResources'),
|
}.property('stacks.@each.{system,isDefault}','prefs.showSystemResources'),
|
||||||
|
*/
|
||||||
|
|
||||||
groupTableBy: function() {
|
groupTableBy: function() {
|
||||||
if ( this.get('group') === STACK && !this.get('simpleMode') ) {
|
if ( this.get('group') === STACK && !this.get('simpleMode') ) {
|
||||||
|
|
|
||||||
|
|
@ -3504,6 +3504,9 @@ nav:
|
||||||
environment:
|
environment:
|
||||||
cluster: Cluster
|
cluster: Cluster
|
||||||
label: Environment
|
label: Environment
|
||||||
|
all: All Environments
|
||||||
|
your: Your Environments
|
||||||
|
selected: Selected Environment
|
||||||
manage: Manage Clusters
|
manage: Manage Clusters
|
||||||
edit: 'Edit "{name}"'
|
edit: 'Edit "{name}"'
|
||||||
notReady: Setting Up...
|
notReady: Setting Up...
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue