* Fix bug #46121.
This commit is contained in:
@@ -1824,6 +1824,7 @@ EOF;
|
||||
}
|
||||
if($icon == 'toStory') $title = $lang->bug->toStory;
|
||||
if($icon == 'createBug') $title = $lang->testtask->createBug;
|
||||
if($module == 'projectstory' && $method == 'unlinkStory' && isset($object->type) && $object->type == 'requirement') $title = str_replace($lang->SRCommon, $lang->URCommon, $lang->execution->unlinkStory);
|
||||
}
|
||||
|
||||
/* set the class. */
|
||||
|
||||
@@ -386,7 +386,7 @@
|
||||
if($canLinkStory && common::hasPriv('execution', 'batchUnlinkStory'))
|
||||
{
|
||||
$actionLink = $this->createLink('execution', 'batchUnlinkStory', "executionID=$execution->id");
|
||||
echo html::commonButton($lang->execution->unlinkStoryAB, "data-form-action='$actionLink'");
|
||||
echo html::commonButton($storyType == 'requirement' ? str_replace($lang->SRCommon, $lang->URCommon, $lang->execution->unlinkStoryAB) : $lang->execution->unlinkStoryAB, "data-form-action='$actionLink'");
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user