execution->manageProducts;?>
diff --git a/module/execution/js/edit.js b/module/execution/js/edit.js index 820c795f5e..a124a0129e 100644 --- a/module/execution/js/edit.js +++ b/module/execution/js/edit.js @@ -62,12 +62,12 @@ $(function() { if($.inArray(lastBranch, unmodifiableBranches) != -1) { - if(linkedStoryIDList[last][lastBranch]) bootbox.alert(tip.replace('%s', linkedStoryIDList[last][lastBranch])); + if(linkedStoryIDList[last][lastBranch]) bootbox.alert(unLinkProductTip.replace("%s", branchGroups[last][lastBranch])); } } else { - bootbox.alert(tip.replace('%s', linkedStoryIDList[last][0])); + bootbox.alert(unLinkProductTip.replace("%s", allProducts[last])); } } }); diff --git a/module/execution/js/manageproducts.js b/module/execution/js/manageproducts.js index 6dbd09acc3..0c2028e0a3 100644 --- a/module/execution/js/manageproducts.js +++ b/module/execution/js/manageproducts.js @@ -23,12 +23,12 @@ $(function() if($.inArray(branchID, unmodifiableBranches) != -1 && linkedStoryIDList[productID][branchID]) { - bootbox.alert(tip.replace('%s', linkedStoryIDList[productID][branchID])); + bootbox.alert(unLinkProductTip.replace("%s", branchGroups[productID][branchID])); } } else { - bootbox.alert(tip.replace('%s', linkedStoryIDList[productID][0])); + bootbox.alert(unLinkProductTip.replace("%s", allProducts[productID])); } } }); diff --git a/module/execution/view/edit.html.php b/module/execution/view/edit.html.php index 4efb1d779f..d999c18a2f 100644 --- a/module/execution/view/edit.html.php +++ b/module/execution/view/edit.html.php @@ -227,6 +227,8 @@ -execution->notAllowRemoveProducts);?> execution->confirmSync);?> + + +project->unLinkProductTip);?> diff --git a/module/execution/view/manageproducts.html.php b/module/execution/view/manageproducts.html.php index fff2536381..e1c1e657a0 100644 --- a/module/execution/view/manageproducts.html.php +++ b/module/execution/view/manageproducts.html.php @@ -12,9 +12,11 @@ ?> - - -execution->notAllowRemoveProducts);?> + + + + +project->unLinkProductTip);?>