* Fix bug#46806.

This commit is contained in:
xieqiyu
2024-03-12 10:18:32 +08:00
parent 29100ee542
commit bf2d7fbe20
3 changed files with 19 additions and 0 deletions
+16
View File
@@ -95,6 +95,22 @@ $linkPlanItem = array('text' => $lang->execution->linkStoryByPlan, 'url' => '#li
$product ? toolbar
(
common::hasPriv('execution', 'storykanban') && $storyType == 'story' ? btnGroup
(
btn
(
setClass('text-primary font-bold shadow-inner bg-canvas'),
set::icon('format-list-bulleted'),
set::hint($lang->execution->list),
set::url(inlink('story', "executionID={$execution->id}&storyType={$storyType}&orderBy={$orderBy}&type=all"))
),
btn
(
set::icon('kanban'),
set::hint($lang->execution->kanban),
set::url($this->createLink('execution', 'storykanban', "executionID={$execution->id}"))
),
) : null,
hasPriv('story', 'report') ? item(set(array
(
'text' => $lang->story->report->common,
@@ -35,9 +35,11 @@ $canLinkStory = $execution->hasProduct or $execution->multiple;
<?php echo html::a($this->createLink('execution', 'storykanban', "executionID=$execution->id"), "<i class='icon-kanban'></i> &nbsp;", '', "class='btn btn-icon text-primary switchBtn' title='{$lang->execution->kanban}' data-type='bykanban'");?>
</div>
<?php endif;?>
<!--
<div class='btn-group'>
<?php common::printIcon('story', 'export', "productID=$productID&orderBy=id_desc", '', 'button', '', '', 'export', '', "data-group='execution'");?>
</div>
-->
<?php if($canBeChanged and $productID and !$this->loadModel('story')->checkForceReview()) common::printLink('story', 'create', "productID=$productID&branch=&moduleID=0&story=0&execution=$execution->id", "<i class='icon icon-plus'></i> " . $lang->execution->createStory, '', "class='btn btn-secondary' class='btn btn-link export' data-group='execution'");?>
<?php
if($canBeChanged)