This commit is contained in:
tianshujie
2024-02-28 16:26:13 +08:00
committed by caoyanyi
parent cc592343e1
commit ddd01edb6d
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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. */
+1 -1
View File
@@ -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>