From 16e83d89c4d4d64188bf6d0249050b2740dfd913 Mon Sep 17 00:00:00 2001 From: thuva4 Date: Thu, 11 Jan 2018 18:24:31 +0530 Subject: Bug fixes in results, tastcases and header file Remove the profile, signout option in authenticate false made Remove the sever request in authenticate false made Remove stop date, start date in results page Add build tag in results page fix issue in test cases page Change-Id: Ic3d16f53591017d2529926e4e3374aaa245c7dce Signed-off-by: thuva4 --- .../ui/components/projects/project/testCases/testCases.html | 6 +++--- .../projects/project/testCases/testCasesController.js | 3 ++- testapi/opnfv_testapi/ui/components/projects/projects.html | 10 +++++----- .../opnfv_testapi/ui/components/projects/projectsController.js | 4 ++-- 4 files changed, 12 insertions(+), 11 deletions(-) (limited to 'testapi/opnfv_testapi/ui/components/projects') diff --git a/testapi/opnfv_testapi/ui/components/projects/project/testCases/testCases.html b/testapi/opnfv_testapi/ui/components/projects/project/testCases/testCases.html index 00dd0f1..ee87e0a 100644 --- a/testapi/opnfv_testapi/ui/components/projects/project/testCases/testCases.html +++ b/testapi/opnfv_testapi/ui/components/projects/project/testCases/testCases.html @@ -47,9 +47,9 @@ {{testcase.name}} - {{ ctrl.data.tier}} - {{ctrl.data.blocking}} - {{ctrl.data.ci_loop}} + {{testcase.tier}} + {{testcase.blocking}} + {{testcase.ci_loop}} diff --git a/testapi/opnfv_testapi/ui/components/projects/project/testCases/testCasesController.js b/testapi/opnfv_testapi/ui/components/projects/project/testCases/testCasesController.js index 0045284..6d3c245 100644 --- a/testapi/opnfv_testapi/ui/components/projects/project/testCases/testCasesController.js +++ b/testapi/opnfv_testapi/ui/components/projects/project/testCases/testCasesController.js @@ -244,12 +244,13 @@ {label: 'blocking', type: 'text', required: false}, {label: 'criteria', type: 'text', required: false}, {label: 'domains', type: 'text', required: false}, + {label: 'ci_loop', type: 'text', required: false}, {label: 'catalog_description', type: 'text', required: false} ]; ctrl.testcase = {name : null, description : null,version : null, tier : null, tags : null, run : null, dependencies : null, trust : null, url : null, blocking : null, - criteria : null, domains : null, catalog_description : null}; + criteria : null, domains : null, ci_loop: null, catalog_description : null}; if(ctrl.data.text=="Update"){ ctrl.testcase = ctrl.data.testCase diff --git a/testapi/opnfv_testapi/ui/components/projects/projects.html b/testapi/opnfv_testapi/ui/components/projects/projects.html index 8a27a57..5a3b421 100644 --- a/testapi/opnfv_testapi/ui/components/projects/projects.html +++ b/testapi/opnfv_testapi/ui/components/projects/projects.html @@ -2,13 +2,13 @@
-
+
+ auth.isAuthenticated) && authenticate}">
@@ -40,7 +40,7 @@ Bulk Select Name Description - Operations + Operations @@ -52,7 +52,7 @@
{{project.name}} {{project.description}} - + diff --git a/testapi/opnfv_testapi/ui/components/projects/projectsController.js b/testapi/opnfv_testapi/ui/components/projects/projectsController.js index 38764ea..bb394c0 100644 --- a/testapi/opnfv_testapi/ui/components/projects/projectsController.js +++ b/testapi/opnfv_testapi/ui/components/projects/projectsController.js @@ -21,7 +21,7 @@ ProjectsController.$inject = [ '$scope', '$http', '$filter', '$state', '$window', '$uibModal', 'testapiApiUrl', - 'raiseAlert', 'confirmModal' + 'raiseAlert', 'confirmModal', 'authenticate' ]; /** @@ -30,7 +30,7 @@ * through projects declared in TestAPI. */ function ProjectsController($scope, $http, $filter, $state, $window, $uibModal, testapiApiUrl, - raiseAlert, confirmModal) { + raiseAlert, confirmModal, authenticate) { var ctrl = this; ctrl.url = testapiApiUrl + '/projects'; -- cgit 1.2.3-korg