mirror of
https://github.com/ansible/awx.git
synced 2026-03-02 17:28:51 -03:30
fix spacing issues with activity stream description builder
This commit is contained in:
@@ -131,7 +131,7 @@ const buildAnchor = (obj, resource, activity) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const getPastTense = item => {
|
const getPastTense = item => {
|
||||||
return /e$/.test(item) ? `${item}d ` : `${item}ed `;
|
return /e$/.test(item) ? `${item}d` : `${item}ed`;
|
||||||
};
|
};
|
||||||
|
|
||||||
const isGroupRelationship = item => {
|
const isGroupRelationship = item => {
|
||||||
@@ -232,7 +232,7 @@ export default (activity, i18n) => {
|
|||||||
);
|
);
|
||||||
labeledLinks.push(
|
labeledLinks.push(
|
||||||
buildLabeledLink(
|
buildLabeledLink(
|
||||||
`${activity.summary_fields.role[0].role_field} to `,
|
`${activity.summary_fields.role[0].role_field} to`,
|
||||||
buildAnchor(
|
buildAnchor(
|
||||||
activity.summary_fields.group[0],
|
activity.summary_fields.group[0],
|
||||||
object1,
|
object1,
|
||||||
@@ -253,7 +253,7 @@ export default (activity, i18n) => {
|
|||||||
);
|
);
|
||||||
labeledLinks.push(
|
labeledLinks.push(
|
||||||
buildLabeledLink(
|
buildLabeledLink(
|
||||||
`${activity.summary_fields.role[0].role_field} to `,
|
`${activity.summary_fields.role[0].role_field} to`,
|
||||||
buildAnchor(
|
buildAnchor(
|
||||||
activity.summary_fields[object1][0],
|
activity.summary_fields[object1][0],
|
||||||
object1,
|
object1,
|
||||||
|
|||||||
Reference in New Issue
Block a user