From: xudan Date: Thu, 13 Sep 2018 03:26:26 +0000 (-0400) Subject: Update webportal code to 2018.09 X-Git-Tag: ovp-2.0.0~6 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F69%2F62169%2F2;p=dovetail-webportal.git Update webportal code to 2018.09 The official name of the next release is going to be 2018.09. JIRA: DOVETAIL-740 Change-Id: I7da48d27c66d4b25b277339ada3fafa85159b172 Signed-off-by: xudan --- diff --git a/3rd_party/static/testapi-ui/components/home/home.html b/3rd_party/static/testapi-ui/components/home/home.html index e921713..d12a530 100644 --- a/3rd_party/static/testapi-ui/components/home/home.html +++ b/3rd_party/static/testapi-ui/components/home/home.html @@ -44,7 +44,7 @@ diff --git a/3rd_party/static/testapi-ui/components/results-report/resultsReportController.js b/3rd_party/static/testapi-ui/components/results-report/resultsReportController.js index 3c5d0c0..8cec126 100644 --- a/3rd_party/static/testapi-ui/components/results-report/resultsReportController.js +++ b/3rd_party/static/testapi-ui/components/results-report/resultsReportController.js @@ -189,11 +189,11 @@ var sub_case_list = get_sub_case_list_2018_01(result_resp.data); extend(sub_case_list); } - else if(ctrl.version == '2018.08') { - // OVP 2018.08 and later results store all results in a single json structure: + else if(ctrl.version == '2018.09') { + // OVP 2018.09 and later results store all results in a single json structure: // Looping over all test cases of this individual test run angular.forEach(result_resp.data.testcases_list, function(testcase, index){ - var sub_case_list = get_sub_case_list_2018_08(testcase) + var sub_case_list = get_sub_case_list_2018_09(testcase) extend(sub_case_list) }); } @@ -253,7 +253,7 @@ return case_list; } - function get_sub_case_list_2018_08(result) { + function get_sub_case_list_2018_09(result) { var case_list = []; if(result.sub_testcase.length == 0 && result.result == "PASS") { case_list.push(result.name);