* Add level 1.5 menu.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -12,6 +12,8 @@ declare(strict_types=1);
|
||||
|
||||
namespace zin;
|
||||
|
||||
dropmenu(set::text($product->name));
|
||||
|
||||
/* Set feature bar. */
|
||||
featureBar
|
||||
(
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -10,4 +10,6 @@ declare(strict_types=1);
|
||||
*/
|
||||
namespace zin;
|
||||
|
||||
dropmenu();
|
||||
|
||||
include("browseby{$viewType}.html.php");
|
||||
|
||||
@@ -12,6 +12,8 @@ declare(strict_types=1);
|
||||
|
||||
namespace zin;
|
||||
|
||||
dropmenu();
|
||||
|
||||
/* Generate fields for the batch create form. */
|
||||
$fnGenerateFields = function() use ($lang, $fields)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user