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 1
1
div.instance-properties
2
- span.hostname ( data-hook ='hostname' )
2
+ span.hostname
3
+ span( data-hook ='hostname' )
4
+ |:
5
+ span( data-hook ='port' )
3
6
span.version
4
- | version
7
+ span( data-hook ='module' )
8
+ | version
5
9
span( data-hook ='version' )
6
10
div.db-stats
7
11
span.num-databases
Original file line number Diff line number Diff line change @@ -14,11 +14,23 @@ var InstancePropertiesView = module.exports = View.extend({
14
14
default : true
15
15
}
16
16
} ,
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
+ } ,
17
25
bindings : {
18
- 'instance.host. hostname' : {
26
+ 'instance.hostname' : {
19
27
type : 'text' ,
20
28
hook : 'hostname'
21
29
} ,
30
+ 'instance.port' : {
31
+ type : 'text' ,
32
+ hook : 'port'
33
+ } ,
22
34
'instance.build.version' : {
23
35
type : 'text' ,
24
36
hook : 'version'
@@ -31,6 +43,10 @@ var InstancePropertiesView = module.exports = View.extend({
31
43
type : 'text' ,
32
44
hook : 'num-databases'
33
45
} ,
46
+ module : {
47
+ type : 'text' ,
48
+ hook : 'module'
49
+ } ,
34
50
is_fetching : {
35
51
type : 'booleanClass' ,
36
52
hook : 'refresh-icon' ,
You can’t perform that action at this time.
0 commit comments