mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 15:09:32 -02:30
support for editing an insights project
This commit is contained in:
committed by
Matthew Jones
parent
0ff837449b
commit
7d4544595a
@@ -443,7 +443,7 @@ export function ProjectsAdd($scope, $rootScope, $compile, $location, $log,
|
||||
$scope.pathRequired = false;
|
||||
$scope.scmRequired = false;
|
||||
$scope.credentialLabel = "Red Hat Insights";
|
||||
break;
|
||||
break;
|
||||
default:
|
||||
$scope.credentialLabel = "SCM Credential";
|
||||
$scope.urlPopover = '<p> ' + i18n._('URL popover text');
|
||||
@@ -727,6 +727,11 @@ export function ProjectsEdit($scope, $rootScope, $compile, $location, $log,
|
||||
'Do not put the username and key in the URL. ' +
|
||||
'If using Bitbucket and SSH, do not supply your Bitbucket username.'), '<strong>', '</strong>');
|
||||
break;
|
||||
case 'insights':
|
||||
$scope.pathRequired = false;
|
||||
$scope.scmRequired = false;
|
||||
$scope.credentialLabel = "Red Hat Insights";
|
||||
break;
|
||||
default:
|
||||
$scope.urlPopover = '<p> ' + i18n._('URL popover text');
|
||||
}
|
||||
|
||||
@@ -127,7 +127,6 @@ angular.module('ProjectFormDefinition', ['SchedulesListDefinition'])
|
||||
subForm: 'sourceSubForm',
|
||||
},
|
||||
credential: {
|
||||
// label: i18n._('SCM Credential'),
|
||||
labelBind: 'credentialLabel',
|
||||
type: 'lookup',
|
||||
basePath: 'credentials',
|
||||
|
||||
Reference in New Issue
Block a user