mirror of
https://github.com/ansible/awx.git
synced 2026-01-22 15:08:03 -03:30
add support for applications activity stream
This commit is contained in:
parent
72254758f6
commit
3bcc48402c
@ -62,7 +62,6 @@ function ApplicationsRun ($stateExtender, strings) {
|
||||
},
|
||||
data: {
|
||||
activityStream: true,
|
||||
// TODO: double-check activity stream works
|
||||
activityStreamTarget: 'application'
|
||||
},
|
||||
views: {
|
||||
@ -111,7 +110,6 @@ function ApplicationsRun ($stateExtender, strings) {
|
||||
},
|
||||
data: {
|
||||
activityStream: true,
|
||||
// TODO: double-check activity stream works
|
||||
activityStreamTarget: 'application'
|
||||
},
|
||||
views: {
|
||||
|
||||
@ -43,6 +43,9 @@ export default function GetTargetTitle(i18n) {
|
||||
case 'template':
|
||||
rtnTitle = i18n._('TEMPLATES');
|
||||
break;
|
||||
case 'application':
|
||||
rtnTitle = i18n._('APPLICATIONS');
|
||||
break;
|
||||
}
|
||||
|
||||
return rtnTitle;
|
||||
|
||||
@ -18,6 +18,9 @@ export default function ModelToBasePathKey() {
|
||||
var basePathKey;
|
||||
|
||||
switch(model) {
|
||||
case 'application':
|
||||
basePathKey = 'applications';
|
||||
break;
|
||||
case 'project':
|
||||
basePathKey = 'projects';
|
||||
break;
|
||||
|
||||
@ -21,6 +21,7 @@ export default ['templateUrl', 'i18n', function(templateUrl, i18n) {
|
||||
|
||||
$scope.options = [
|
||||
{label: i18n._('All Activity'), value: 'dashboard'},
|
||||
{label: i18n._('Applications'), value: '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