* Add project execution approval menu.

This commit is contained in:
wangyuting2
2022-08-03 16:48:10 +08:00
parent 0747b43672
commit afba28db68
2 changed files with 4 additions and 3 deletions
+3 -3
View File
@@ -3381,12 +3381,12 @@ EOD;
* @access public
* @return bool
*/
public static function sortFeatureMenu()
public static function sortFeatureMenu($module = '', $method = '')
{
global $lang, $app;
$module = $app->rawModule;
$method = $app->rawMethod;
$module = $module ? $module : $app->rawModule;
$method = $method ? $method : $app->rawMethod;
/* It will be sorted according to the workflow in the future */
if(!empty($lang->featureBarSort[$module][$method]))
+1
View File
@@ -18,6 +18,7 @@
?>
</ul>
</div>
<?php common::sortFeatureMenu('execution', 'all');?>
<?php foreach($lang->execution->featureBar['all'] as $key => $label):?>
<?php $label = "<span class='text'>$label</span>";?>
<?php if($status == $key) $label .= " <span class='label label-light label-badge'>{$pager->recTotal}</span>";?>