mirror of
https://github.com/ansible/awx.git
synced 2026-03-19 18:07:33 -02:30
Merge pull request #233 from mabashian/7404-credentials-activity
Added activity stream link to credentials
This commit is contained in:
@@ -61,6 +61,10 @@ function CredentialsConfig ($stateExtenderProvider, legacyProvider, pathProvider
|
|||||||
ncyBreadcrumb: {
|
ncyBreadcrumb: {
|
||||||
label: strings.get('state.ADD_BREADCRUMB_LABEL')
|
label: strings.get('state.ADD_BREADCRUMB_LABEL')
|
||||||
},
|
},
|
||||||
|
data: {
|
||||||
|
activityStream: true,
|
||||||
|
activityStreamTarget: 'credential'
|
||||||
|
},
|
||||||
views: {
|
views: {
|
||||||
'add@credentials': {
|
'add@credentials': {
|
||||||
templateUrl: path.getViewPath('credentials/add-edit-credentials'),
|
templateUrl: path.getViewPath('credentials/add-edit-credentials'),
|
||||||
@@ -79,6 +83,11 @@ function CredentialsConfig ($stateExtenderProvider, legacyProvider, pathProvider
|
|||||||
ncyBreadcrumb: {
|
ncyBreadcrumb: {
|
||||||
label: strings.get('state.EDIT_BREADCRUMB_LABEL')
|
label: strings.get('state.EDIT_BREADCRUMB_LABEL')
|
||||||
},
|
},
|
||||||
|
data: {
|
||||||
|
activityStream: true,
|
||||||
|
activityStreamTarget: 'credential',
|
||||||
|
activityStreamId: 'credential_id'
|
||||||
|
},
|
||||||
views: {
|
views: {
|
||||||
'edit@credentials': {
|
'edit@credentials': {
|
||||||
templateUrl: path.getViewPath('credentials/add-edit-credentials'),
|
templateUrl: path.getViewPath('credentials/add-edit-credentials'),
|
||||||
|
|||||||
@@ -13,6 +13,10 @@ function LegacyCredentialsService (pathService) {
|
|||||||
parent: 'setup',
|
parent: 'setup',
|
||||||
label: N_('CREDENTIALS')
|
label: N_('CREDENTIALS')
|
||||||
},
|
},
|
||||||
|
data: {
|
||||||
|
activityStream: true,
|
||||||
|
activityStreamTarget: 'credential'
|
||||||
|
},
|
||||||
views: {
|
views: {
|
||||||
'@': {
|
'@': {
|
||||||
templateUrl: pathService.getViewPath('credentials/index')
|
templateUrl: pathService.getViewPath('credentials/index')
|
||||||
|
|||||||
Reference in New Issue
Block a user