From c3f531f408638a3831ad63b93ae38995c5e396b2 Mon Sep 17 00:00:00 2001 From: SerenaFeng Date: Thu, 23 Nov 2017 19:04:17 +0800 Subject: clear web pages 1. delete 'My Results' page, it means to be used in dovetail, now dovetail has an independent repo 2. rename 'Community Results' to 'Results' 3. delete vendor/products/result-reports ... code, they are useless for now, and probably in the future Change-Id: I6678fdadf5f11842bb1614d7eaa4cf21256385b6 Signed-off-by: SerenaFeng --- testapi/opnfv_testapi/ui/shared/header/headerController.js | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'testapi/opnfv_testapi/ui/shared/header/headerController.js') diff --git a/testapi/opnfv_testapi/ui/shared/header/headerController.js b/testapi/opnfv_testapi/ui/shared/header/headerController.js index 0a14a41..c998255 100644 --- a/testapi/opnfv_testapi/ui/shared/header/headerController.js +++ b/testapi/opnfv_testapi/ui/shared/header/headerController.js @@ -30,7 +30,6 @@ var ctrl = this; ctrl.isActive = isActive; - ctrl.isCatalogActive = isCatalogActive; /** Whether the Navbar is collapsed for small displays. */ ctrl.navbarCollapsed = true; @@ -50,14 +49,5 @@ } return false; } - - /** This determines the active state for the catalog dropdown. Type - * parameter should be passed in to specify if the catalog is the - * public or user one. - */ - function isCatalogActive(type) { - return ctrl.isActive('/' + type + '_vendors') - || ctrl.isActive('/' + type + '_products'); - } } })(); -- cgit 1.2.3-korg