mirror of
https://github.com/ansible/awx.git
synced 2026-05-18 06:47:41 -02:30
add support for applications activity stream
This commit is contained in:
@@ -62,7 +62,6 @@ function ApplicationsRun ($stateExtender, strings) {
|
|||||||
},
|
},
|
||||||
data: {
|
data: {
|
||||||
activityStream: true,
|
activityStream: true,
|
||||||
// TODO: double-check activity stream works
|
|
||||||
activityStreamTarget: 'application'
|
activityStreamTarget: 'application'
|
||||||
},
|
},
|
||||||
views: {
|
views: {
|
||||||
@@ -111,7 +110,6 @@ function ApplicationsRun ($stateExtender, strings) {
|
|||||||
},
|
},
|
||||||
data: {
|
data: {
|
||||||
activityStream: true,
|
activityStream: true,
|
||||||
// TODO: double-check activity stream works
|
|
||||||
activityStreamTarget: 'application'
|
activityStreamTarget: 'application'
|
||||||
},
|
},
|
||||||
views: {
|
views: {
|
||||||
|
|||||||
@@ -43,6 +43,9 @@ export default function GetTargetTitle(i18n) {
|
|||||||
case 'template':
|
case 'template':
|
||||||
rtnTitle = i18n._('TEMPLATES');
|
rtnTitle = i18n._('TEMPLATES');
|
||||||
break;
|
break;
|
||||||
|
case 'application':
|
||||||
|
rtnTitle = i18n._('APPLICATIONS');
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return rtnTitle;
|
return rtnTitle;
|
||||||
|
|||||||
@@ -18,6 +18,9 @@ export default function ModelToBasePathKey() {
|
|||||||
var basePathKey;
|
var basePathKey;
|
||||||
|
|
||||||
switch(model) {
|
switch(model) {
|
||||||
|
case 'application':
|
||||||
|
basePathKey = 'applications';
|
||||||
|
break;
|
||||||
case 'project':
|
case 'project':
|
||||||
basePathKey = 'projects';
|
basePathKey = 'projects';
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -21,6 +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._('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