Skip to content

Commit ef5162e

Browse files
Extend the idea in #13512 to a few more tabs
(cherry picked from commit f2da1b5)
1 parent d38ab61 commit ef5162e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Diff for: deps/rabbitmq_management/priv/www/js/dispatcher.js

+3
Original file line numberDiff line numberDiff 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');

Diff for: deps/rabbitmq_management/priv/www/js/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ function dispatcher_add(fun) {
7575

7676
function 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
}

0 commit comments

Comments
 (0)