Fix tab name indices in status template
When the extra OpenStack Health link was removed in I293e326e45e1939dc57556d1477434cd1cfb56a2, the indices for the 'tabsName' array were not updated to reflect the change causing all links after 'Rechecks' to be off by one. This patch restores the correct index order to fix the issue. Change-Id: I4eea976c3fb1a0b9b75d38ba5895b7d5fa5b0de3
This commit is contained in:
parent
0b597039ad
commit
6925f865b4
@ -20,9 +20,9 @@ function header(activeTabName) {
|
||||
tabsName[0] = 'Status'; tabsLink[0] = '<%= @status_base_url %>';
|
||||
tabsName[1] = 'Zuul'; tabsLink[1] = '<%= @status_base_url %>/zuul/';
|
||||
tabsName[2] = 'Rechecks'; tabsLink[2] = '<%= @status_base_url %>/elastic-recheck/';
|
||||
tabsName[4] = 'Reviews'; tabsLink[3] = '<%= @status_base_url %>/reviews/';
|
||||
tabsName[5] = 'Bugday'; tabsLink[4] = '<%= @status_base_url %>/bugday/';
|
||||
tabsName[6] = 'OpenStack-Health'; tabsLink[5] = '<%= @status_base_url %>/openstack-health/';
|
||||
tabsName[3] = 'Reviews'; tabsLink[3] = '<%= @status_base_url %>/reviews/';
|
||||
tabsName[4] = 'Bugday'; tabsLink[4] = '<%= @status_base_url %>/bugday/';
|
||||
tabsName[5] = 'OpenStack-Health'; tabsLink[5] = '<%= @status_base_url %>/openstack-health/';
|
||||
|
||||
document.write(
|
||||
'<div id="header" class="container">' +
|
||||
|
Loading…
Reference in New Issue
Block a user