File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
deps/rabbitmq_management/priv/www/js Expand file tree Collapse file tree 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) {
111111
112112 if ( ac . canAccessVhosts ( ) ) {
113113 sammy . get ( '#/connections' , function ( ) {
114+ this . title ( 'Connections' ) ;
114115 renderConnections ( ) ;
115116 } ) ;
116117 sammy . get ( '#/connections/:name' , function ( ) {
@@ -143,6 +144,7 @@ dispatcher_add(function(sammy) {
143144 return false ;
144145 } ) ;
145146 sammy . get ( '#/channels' , function ( ) {
147+ this . title ( 'Channels' ) ;
146148 renderChannels ( ) ;
147149 } ) ;
148150 sammy . get ( '#/channels/:name' , function ( ) {
@@ -336,6 +338,7 @@ dispatcher_add(function(sammy) {
336338 'operator_policies' : '/operator-policies' ,
337339 'vhosts' : '/vhosts' } , 'policies' ) ;
338340 sammy . get ( '#/policies/:vhost/:id' , function ( ) {
341+ this . title ( 'Policies' ) ;
339342 render ( { 'policy' : '/policies/' + esc ( this . params [ 'vhost' ] )
340343 + '/' + esc ( this . params [ 'id' ] ) } ,
341344 'policy' , '#/policies' ) ;
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ function dispatcher_add(fun) {
7575
7676function dispatcher ( ) {
7777 this . use ( 'Title' ) ;
78- this . setTitle ( 'RabbitMQ - ' ) ;
78+ this . setTitle ( 'RabbitMQ: ' ) ;
7979 for ( var i in dispatcher_modules ) {
8080 dispatcher_modules [ i ] ( this ) ;
8181 }
You can’t perform that action at this time.
0 commit comments