1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 15:21:13 +03:00

Update job template breadcrumb content

This commit is contained in:
Marliana Lara 2019-06-26 14:49:10 -04:00
parent cfc0a4771f
commit edef496583
No known key found for this signature in database
GPG Key ID: 38C73B40DFA809EE

View File

@ -28,8 +28,9 @@ class Templates extends Component {
}
const breadcrumbConfig = {
'/templates': i18n._(t`Templates`),
[`/templates/${template.type}/${template.id}/details`]: i18n._(t`${template.name} Details`),
[`/templates/${template.type}/${template.id}/edit`]: i18n._(t`${template.name} Edit`)
[`/templates/${template.type}/${template.id}`]: `${template.name}`,
[`/templates/${template.type}/${template.id}/details`]: i18n._(t`Details`),
[`/templates/${template.type}/${template.id}/edit`]: i18n._(t`Edit Details`),
};
this.setState({ breadcrumbConfig });
}