mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 03:10:42 -03:30
update app activity stream target to o_auth2_application
This commit is contained in:
parent
f99792e604
commit
6ab64590d7
@ -62,7 +62,7 @@ function ApplicationsRun ($stateExtender, strings) {
|
||||
},
|
||||
data: {
|
||||
activityStream: true,
|
||||
activityStreamTarget: 'application'
|
||||
activityStreamTarget: 'o_auth2_application'
|
||||
},
|
||||
views: {
|
||||
'@': {
|
||||
@ -110,7 +110,7 @@ function ApplicationsRun ($stateExtender, strings) {
|
||||
},
|
||||
data: {
|
||||
activityStream: true,
|
||||
activityStreamTarget: 'application'
|
||||
activityStreamTarget: 'o_auth2_application'
|
||||
},
|
||||
views: {
|
||||
'add@applications': {
|
||||
@ -132,7 +132,7 @@ function ApplicationsRun ($stateExtender, strings) {
|
||||
},
|
||||
data: {
|
||||
activityStream: true,
|
||||
activityStreamTarget: 'application',
|
||||
activityStreamTarget: 'o_auth2_application',
|
||||
activityStreamId: 'application_id'
|
||||
},
|
||||
views: {
|
||||
@ -262,8 +262,7 @@ function ApplicationsRun ($stateExtender, strings) {
|
||||
},
|
||||
data: {
|
||||
activityStream: true,
|
||||
// TODO: double-check activity stream works
|
||||
activityStreamTarget: 'application'
|
||||
activityStreamTarget: 'o_auth2_application'
|
||||
},
|
||||
views: {
|
||||
'userList@applications.edit': {
|
||||
|
||||
@ -43,7 +43,7 @@ export default function GetTargetTitle(i18n) {
|
||||
case 'template':
|
||||
rtnTitle = i18n._('TEMPLATES');
|
||||
break;
|
||||
case 'application':
|
||||
case 'o_auth2_application':
|
||||
rtnTitle = i18n._('APPLICATIONS');
|
||||
break;
|
||||
}
|
||||
|
||||
@ -18,7 +18,7 @@ export default function ModelToBasePathKey() {
|
||||
var basePathKey;
|
||||
|
||||
switch(model) {
|
||||
case 'application':
|
||||
case 'o_auth2_application':
|
||||
basePathKey = 'applications';
|
||||
break;
|
||||
case 'project':
|
||||
|
||||
@ -21,7 +21,7 @@ export default ['templateUrl', 'i18n', function(templateUrl, i18n) {
|
||||
|
||||
$scope.options = [
|
||||
{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._('Hosts'), value: 'host'},
|
||||
{label: i18n._('Inventories'), value: 'inventory'},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user