Skip to content

Commit

Permalink
Fixes #38047 - Do not tranlsate links in toasts
Browse files Browse the repository at this point in the history
  • Loading branch information
MariaAga committed Nov 27, 2024
1 parent 257c4ca commit 2dd83e4
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 2dd83e4

Please sign in to comment.