Update webportal code to 2018.09 69/62169/2
authorxudan <xudan16@huawei.com>
Thu, 13 Sep 2018 03:26:26 +0000 (23:26 -0400)
committerxudan <xudan16@huawei.com>
Thu, 13 Sep 2018 03:30:28 +0000 (23:30 -0400)
The official name of the next release is going to be 2018.09.

JIRA: DOVETAIL-740

Change-Id: I7da48d27c66d4b25b277339ada3fafa85159b172
Signed-off-by: xudan <xudan16@huawei.com>
3rd_party/static/testapi-ui/components/home/home.html
3rd_party/static/testapi-ui/components/results-report/resultsReportController.js

index e921713..d12a530 100644 (file)
@@ -44,7 +44,7 @@
                     <div class="panel-heading">
                         <div class="panel-title">
                             <a data-toggle="collapse" data-parent="#accordion" href="#collapseTwo">
-                                Release 2018.08
+                                Release 2018.09
                             </a>
                         </div>
                     </div>
index 3c5d0c0..8cec126 100644 (file)
                            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)
                            });
                        }
             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);