Skip to content

Commit

Permalink
Fixes #38047 - Do not tranlsate links in toasts (Katello#11238)
Browse files Browse the repository at this point in the history
  • Loading branch information
MariaAga authored Nov 27, 2024
1 parent 58dfb8c commit 58f2eda
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ angular.module('Bastion.content-hosts').controller('ContentHostsBulkTracesContro
Notification.setSuccessMessage(message, {
link: {
children: translate("View job invocations."),
href: translate("/job_invocations")
href: "/job_invocations"
}});
$scope.ok();
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ angular.module('Bastion.products').controller('ProductsBulkAdvancedSyncModalCont
Notification.setSuccessMessage(message, {
link: {
children: translate("Click to view task"),
href: translate("/foreman_tasks/tasks/%taskId").replace('%taskId', task.id)
href: "/foreman_tasks/tasks/%taskId".replace('%taskId', task.id)
}});
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ angular.module('Bastion.products').controller('ProductsController',
Notification.setSuccessMessage(message, {
link: {
children: translate("Click to view task"),
href: translate("/foreman_tasks/tasks/%taskId").replace('%taskId', taskId)
href: "/foreman_tasks/tasks/%taskId".replace('%taskId', taskId)
}});
});

Expand Down Expand Up @@ -98,7 +98,7 @@ angular.module('Bastion.products').controller('ProductsController',
Notification.setSuccessMessage(message, {
link: {
children: translate("Click to monitor task progress."),
href: translate("/foreman_tasks/tasks/%taskId").replace('%taskId', task.id)
href: "/foreman_tasks/tasks/%taskId".replace('%taskId', task.id)
}});
};

Expand All @@ -113,7 +113,7 @@ angular.module('Bastion.products').controller('ProductsController',
Notification.setSuccessMessage(message, {
link: {
children: translate("Click to monitor task progress."),
href: translate("/foreman_tasks/tasks/%taskId").replace('%taskId', task.id)
href: "/foreman_tasks/tasks/%taskId".replace('%taskId', task.id)
}});
};

Expand Down

0 comments on commit 58f2eda

Please sign in to comment.