File tree 2 files changed +4
-1
lines changed
deps/rabbitmq_management/priv/www/js
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,7 @@ dispatcher_add(function(sammy) {
111
111
112
112
if ( ac . canAccessVhosts ( ) ) {
113
113
sammy . get ( '#/connections' , function ( ) {
114
+ this . title ( 'Connections' ) ;
114
115
renderConnections ( ) ;
115
116
} ) ;
116
117
sammy . get ( '#/connections/:name' , function ( ) {
@@ -143,6 +144,7 @@ dispatcher_add(function(sammy) {
143
144
return false ;
144
145
} ) ;
145
146
sammy . get ( '#/channels' , function ( ) {
147
+ this . title ( 'Channels' ) ;
146
148
renderChannels ( ) ;
147
149
} ) ;
148
150
sammy . get ( '#/channels/:name' , function ( ) {
@@ -336,6 +338,7 @@ dispatcher_add(function(sammy) {
336
338
'operator_policies' : '/operator-policies' ,
337
339
'vhosts' : '/vhosts' } , 'policies' ) ;
338
340
sammy . get ( '#/policies/:vhost/:id' , function ( ) {
341
+ this . title ( 'Policies' ) ;
339
342
render ( { 'policy' : '/policies/' + esc ( this . params [ 'vhost' ] )
340
343
+ '/' + esc ( this . params [ 'id' ] ) } ,
341
344
'policy' , '#/policies' ) ;
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ function dispatcher_add(fun) {
75
75
76
76
function dispatcher ( ) {
77
77
this . use ( 'Title' ) ;
78
- this . setTitle ( 'RabbitMQ - ' ) ;
78
+ this . setTitle ( 'RabbitMQ: ' ) ;
79
79
for ( var i in dispatcher_modules ) {
80
80
dispatcher_modules [ i ] ( this ) ;
81
81
}
You can’t perform that action at this time.
0 commit comments