* Add level 1.5 menu.

This commit is contained in:
chentao
2023-07-08 15:43:57 +08:00
parent a2738135aa
commit 585a72dff3
5 changed files with 10 additions and 2 deletions
+2 -2
View File
@@ -41,7 +41,7 @@ $fnGenerateSideBar = function() use ($moduleTree, $moduleID, $productID, $branch
};
/* Build create story button. */
$fnBuildCreateStoryButton = function() use ($lang, $product, $isProjectStory, $storyType, $productID, $branch, $moduleID, $projectID, $from)
$fnBuildCreateStoryButton = function() use ($lang, $product, $isProjectStory, $storyType, $productID, $branch, $moduleID, $projectID)
{
if(!common::canModify('product', $product)) return null;
@@ -116,7 +116,7 @@ $fnBuildCreateStoryButton = function() use ($lang, $product, $isProjectStory, $s
};
/* Build link story button. */
$fnBuildLinkStoryButton = function() use($lang, $product, $productID, $projectHasProduct, $project, $projectID)
$fnBuildLinkStoryButton = function() use($lang, $product, $projectHasProduct, $project, $projectID)
{
if(!common::canModify('product', $product)) return null;
+2
View File
@@ -12,6 +12,8 @@ declare(strict_types=1);
namespace zin;
dropmenu(set::text($product->name));
/* Set feature bar. */
featureBar
(
+2
View File
@@ -169,6 +169,8 @@ function generateOtherInfoItemList($product, $lang)
$actionMenuList = !$product->deleted ? $this->product->buildOperateMenu($product, 'view') : array();
/* Layout. */
dropmenu(set::text($product->name));
detailBody
(
sectionList
+2
View File
@@ -10,4 +10,6 @@ declare(strict_types=1);
*/
namespace zin;
dropmenu();
include("browseby{$viewType}.html.php");
+2
View File
@@ -12,6 +12,8 @@ declare(strict_types=1);
namespace zin;
dropmenu();
/* Generate fields for the batch create form. */
$fnGenerateFields = function() use ($lang, $fields)
{