mirror of
https://github.com/ansible/awx.git
synced 2026-03-24 04:15:02 -02:30
update app activity stream target to o_auth2_application
This commit is contained in:
@@ -62,7 +62,7 @@ function ApplicationsRun ($stateExtender, strings) {
|
|||||||
},
|
},
|
||||||
data: {
|
data: {
|
||||||
activityStream: true,
|
activityStream: true,
|
||||||
activityStreamTarget: 'application'
|
activityStreamTarget: 'o_auth2_application'
|
||||||
},
|
},
|
||||||
views: {
|
views: {
|
||||||
'@': {
|
'@': {
|
||||||
@@ -110,7 +110,7 @@ function ApplicationsRun ($stateExtender, strings) {
|
|||||||
},
|
},
|
||||||
data: {
|
data: {
|
||||||
activityStream: true,
|
activityStream: true,
|
||||||
activityStreamTarget: 'application'
|
activityStreamTarget: 'o_auth2_application'
|
||||||
},
|
},
|
||||||
views: {
|
views: {
|
||||||
'add@applications': {
|
'add@applications': {
|
||||||
@@ -132,7 +132,7 @@ function ApplicationsRun ($stateExtender, strings) {
|
|||||||
},
|
},
|
||||||
data: {
|
data: {
|
||||||
activityStream: true,
|
activityStream: true,
|
||||||
activityStreamTarget: 'application',
|
activityStreamTarget: 'o_auth2_application',
|
||||||
activityStreamId: 'application_id'
|
activityStreamId: 'application_id'
|
||||||
},
|
},
|
||||||
views: {
|
views: {
|
||||||
@@ -262,8 +262,7 @@ function ApplicationsRun ($stateExtender, strings) {
|
|||||||
},
|
},
|
||||||
data: {
|
data: {
|
||||||
activityStream: true,
|
activityStream: true,
|
||||||
// TODO: double-check activity stream works
|
activityStreamTarget: 'o_auth2_application'
|
||||||
activityStreamTarget: 'application'
|
|
||||||
},
|
},
|
||||||
views: {
|
views: {
|
||||||
'userList@applications.edit': {
|
'userList@applications.edit': {
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ export default function GetTargetTitle(i18n) {
|
|||||||
case 'template':
|
case 'template':
|
||||||
rtnTitle = i18n._('TEMPLATES');
|
rtnTitle = i18n._('TEMPLATES');
|
||||||
break;
|
break;
|
||||||
case 'application':
|
case 'o_auth2_application':
|
||||||
rtnTitle = i18n._('APPLICATIONS');
|
rtnTitle = i18n._('APPLICATIONS');
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ export default function ModelToBasePathKey() {
|
|||||||
var basePathKey;
|
var basePathKey;
|
||||||
|
|
||||||
switch(model) {
|
switch(model) {
|
||||||
case 'application':
|
case 'o_auth2_application':
|
||||||
basePathKey = 'applications';
|
basePathKey = 'applications';
|
||||||
break;
|
break;
|
||||||
case 'project':
|
case 'project':
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ export default ['templateUrl', 'i18n', function(templateUrl, i18n) {
|
|||||||
|
|
||||||
$scope.options = [
|
$scope.options = [
|
||||||
{label: i18n._('All Activity'), value: 'dashboard'},
|
{label: i18n._('All Activity'), value: 'dashboard'},
|
||||||
{label: i18n._('Applications'), value: 'application'},
|
{label: i18n._('Applications'), value: 'o_auth2_application'},
|
||||||
{label: i18n._('Credentials'), value: 'credential'},
|
{label: i18n._('Credentials'), value: 'credential'},
|
||||||
{label: i18n._('Hosts'), value: 'host'},
|
{label: i18n._('Hosts'), value: 'host'},
|
||||||
{label: i18n._('Inventories'), value: 'inventory'},
|
{label: i18n._('Inventories'), value: 'inventory'},
|
||||||
|
|||||||
Reference in New Issue
Block a user