diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-11-23 19:04:17 +0800 |
---|---|---|
committer | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-11-23 19:08:50 +0800 |
commit | c3f531f408638a3831ad63b93ae38995c5e396b2 (patch) | |
tree | 1c3261f91a4df1270c9850a346007fe12480244d /testapi/opnfv_testapi/ui/shared/header/headerController.js | |
parent | 2b0da4f9ccdd488005f8b01c94153b4b41cad59c (diff) |
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 <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'testapi/opnfv_testapi/ui/shared/header/headerController.js')
-rw-r--r-- | testapi/opnfv_testapi/ui/shared/header/headerController.js | 10 |
1 files changed, 0 insertions, 10 deletions
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'); - } } })(); |