* Adjust for module menu with drop menu.

This commit is contained in:
wangyidong
2023-12-15 17:32:12 +08:00
parent f0728e508d
commit 6207c0ef9f
3 changed files with 6 additions and 2 deletions
+1
View File
@@ -222,6 +222,7 @@ class navbar extends wg
if($currentModule == strtolower($subModule) and $currentMethod == strtolower($subMethod))
{
$activeMainMenu = true;
if($activeMenuID) $activeMainMenu = $dropMenuName == $activeMenuID;
}
else
{
+4 -2
View File
@@ -11,6 +11,10 @@ declare(strict_types=1);
namespace zin;
data('activeMenuID', $storyType);
jsVar('executionID', $execution->id);
jsVar('childrenAB', $lang->story->childrenAB);
/* Show feature bar. */
featureBar
(
@@ -19,8 +23,6 @@ featureBar
li(searchToggle(set::module('executionStory'), set::open($type == 'bysearch')))
);
jsVar('executionID', $execution->id);
jsVar('childrenAB', $lang->story->childrenAB);
$linkStoryByPlanTips = $multiBranch ? sprintf($lang->execution->linkBranchStoryByPlanTips, $lang->project->branch) : $lang->execution->linkNormalStoryByPlanTips;
$linkStoryByPlanTips = $execution->multiple ? $linkStoryByPlanTips : str_replace($lang->execution->common, $lang->projectCommon, $linkStoryByPlanTips);
modal
+1
View File
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* The control file of index module of ZenTaoPMS.
*