This commit is contained in:
孙华伟
2022-02-25 08:38:25 +08:00
parent 890532c727
commit e7920e73b4
2 changed files with 6 additions and 6 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
<?php
a($this->cookie->storyProductParam);
/**
* The story view file of execution module of ZenTaoPMS.
*
@@ -86,7 +87,7 @@
if($common::hasPriv('story', 'create') and common::hasPriv('story', 'batchCreate'))
{
if($isAllProduct != 0 || count($products) == 1) echo "<button type='button' class='btn btn-secondary dropdown-toggle' data-toggle='dropdown'><span class='caret'></span></button>";
if($isAllProduct or count($products) == 1) echo "<button type='button' class='btn btn-secondary dropdown-toggle' data-toggle='dropdown'><span class='caret'></span></button>";
echo "<ul class='dropdown-menu pull-right'>";
echo '<li>' . html::a($createStoryLink, $lang->story->create, '', "data-app='execution'") . '</li>';
echo '<li>' . html::a($batchCreateLink, $lang->story->batchCreate, '', "data-app='execution'") . '</li>';