diff --git a/modules/openstack_project/templates/status/common.js.erb b/modules/openstack_project/templates/status/common.js.erb index b4fee555a2..2fe6ee684e 100644 --- a/modules/openstack_project/templates/status/common.js.erb +++ b/modules/openstack_project/templates/status/common.js.erb @@ -1,4 +1,4 @@ -// Copyright 2013 OpenStack Foundation +// Copyright (c) 2013-2015 OpenStack Foundation // // // // Licensed under the Apache License, Version 2.0 (the "License"); you may // // not use this file except in compliance with the License. You may obtain @@ -12,82 +12,85 @@ // // License for the specific language governing permissions and limitations // // under the License. +'use strict'; + function header(activeTabName) { - tabsName = new Array(); - tabsLink = new Array(); + var tabsName = []; + var tabsLink = []; 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[3] = 'QA health'; tabsLink[3] = '<%= @status_base_url %>/openstack-health/'; tabsName[4] = 'Reviews'; tabsLink[4] = '<%= @status_base_url %>/reviews/'; tabsName[5] = 'Bugday'; tabsLink[5] = '<%= @status_base_url %>/bugday/'; + tabsName[6] = 'OpenStack-Health'; tabsLink[6] = '<%= @status_base_url %>/openstack-health/'; document.write( - ''); } function footer() { - document.write( - '
'+ - '
'+ - ''+ - '
') + document.write( + '
' + + '
' + + '' + + '
'); }