summaryrefslogtreecommitdiffstats
path: root/ecomp-portal-FE-common/client/app/views/catalog/catalog.controller.js
diff options
context:
space:
mode:
authorChristopher Lott (cl778h) <clott@research.att.com>2017-07-10 14:04:15 -0400
committerChristopher Lott (cl778h) <clott@research.att.com>2017-07-10 14:10:04 -0400
commit99565bb6bd87cfc46591cea73985c58c3a3697dd (patch)
tree3d90220524af46b157a3fc9d7c555c711452c139 /ecomp-portal-FE-common/client/app/views/catalog/catalog.controller.js
parentfec1ab242c9086a32b04e3ded4518dd20eeca7d3 (diff)
[PORTAL-20,PORTAL-23,PORTAL-32] Repair defects
PORTAL-20: remove mariadb client reference from be-common pom PORTAL-23: Release Portal's SDK version 1.1.0 PORTAL-32: API URL correction for onboarded Apps Change-Id: If75b54ca9202f94ce63c59343b94384da1040912 Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
Diffstat (limited to 'ecomp-portal-FE-common/client/app/views/catalog/catalog.controller.js')
-rw-r--r--ecomp-portal-FE-common/client/app/views/catalog/catalog.controller.js16
1 files changed, 11 insertions, 5 deletions
diff --git a/ecomp-portal-FE-common/client/app/views/catalog/catalog.controller.js b/ecomp-portal-FE-common/client/app/views/catalog/catalog.controller.js
index 150a305e..1685c133 100644
--- a/ecomp-portal-FE-common/client/app/views/catalog/catalog.controller.js
+++ b/ecomp-portal-FE-common/client/app/views/catalog/catalog.controller.js
@@ -60,6 +60,13 @@ function _classCallCheck(instance, Constructor) {
getExternalAccess();
};
+ this.getAccess = function(item) {
+ if(!item.access)
+ confirmBoxService.showDynamicInformation(item,
+ 'app/views/catalog/information-box.tpl.html','CatalogConfirmationBoxCtrl'
+ ).then(isConfirmed => {});
+ };
+
var getExternalAccess = () => {
ExternalRequestAccessService.getExternalRequestAccessServiceInfo().then(
function(property) {
@@ -125,19 +132,18 @@ function _classCallCheck(instance, Constructor) {
data = {
dialogState: 2,
selectedUser:{
- attuid: $scope.attuid,
+ orgUserId: $scope.orgUserId,
firstName: $scope.firstName,
lastName: $scope.lastName,
headerText: item.headerText,
haloAppName : item.mlAppName,
item: item,
- extReqValue : externalRequest
}
}
ngDialog.open({
- templateUrl: 'app/views/catalog/add-catalog-dialogs/new-catalog.modal.html',
- controller: 'NewCatalogModalCtrl',
+ templateUrl: 'app/views/catalog/request-access-catalog-dialogs/request-access-catalog.modal.html',
+ controller: 'ExternalRequestAccessCtrl',
controllerAs: 'userInfo',
data: data
}).closePromise.then(needUpdate => {
@@ -183,7 +189,7 @@ function _classCallCheck(instance, Constructor) {
.getUserProfile()
.then(
function(profile) {
- $scope.attuid = profile.orgUserId;
+ $scope.orgUserId = profile.orgUserId;
$scope.firstName = profile.firstName;
$scope.lastName = profile.lastName;
$scope.appCatalog = [];