File tree Expand file tree Collapse file tree 2 files changed +23
-3
lines changed
Expand file tree Collapse file tree 2 files changed +23
-3
lines changed Original file line number Diff line number Diff line change 11div.instance-properties
2- span.hostname ( data-hook ='hostname' )
2+ span.hostname
3+ span( data-hook ='hostname' )
4+ |:
5+ span( data-hook ='port' )
36 span.version
4- | version
7+ span( data-hook ='module' )
8+ | version
59 span( data-hook ='version' )
610 div.db-stats
711 span.num-databases
Original file line number Diff line number Diff line change @@ -14,11 +14,23 @@ var InstancePropertiesView = module.exports = View.extend({
1414 default : true
1515 }
1616 } ,
17+ derived : {
18+ module : {
19+ deps : [ 'instance.build.enterprise_module' ] ,
20+ fn : function ( ) {
21+ return app . instance . build . enterprise_module ? 'Enterprise' : 'Community' ;
22+ }
23+ }
24+ } ,
1725 bindings : {
18- 'instance.host. hostname' : {
26+ 'instance.hostname' : {
1927 type : 'text' ,
2028 hook : 'hostname'
2129 } ,
30+ 'instance.port' : {
31+ type : 'text' ,
32+ hook : 'port'
33+ } ,
2234 'instance.build.version' : {
2335 type : 'text' ,
2436 hook : 'version'
@@ -31,6 +43,10 @@ var InstancePropertiesView = module.exports = View.extend({
3143 type : 'text' ,
3244 hook : 'num-databases'
3345 } ,
46+ module : {
47+ type : 'text' ,
48+ hook : 'module'
49+ } ,
3450 is_fetching : {
3551 type : 'booleanClass' ,
3652 hook : 'refresh-icon' ,
You can’t perform that action at this time.
0 commit comments