* [bug#60375] Show execution name when has no priv.

This commit is contained in:
xieqiyu
2025-03-27 15:43:28 +08:00
committed by 代婷婷
parent 1659d4602b
commit 2cb467cd7b
2 changed files with 15 additions and 0 deletions
+14
View File
@@ -69,6 +69,20 @@ window.onRenderCell = function(result, {col, row})
if(data.type == 'point') html += data.name;
}
}
if(typeof result[0] == 'string')
{
if(data.id.indexOf('tid') > -1 && data.type != 'point')
{
result[0] = data.rawName;
html += data.prefixLabel;
}
if(data.type == 'point')
{
result[0] = '';
html += data.name;
}
}
if(html) result.unshift({className: 'flex items-center', html: html});
if(typeof data.delay != 'undefined' && data.delay && !['done', 'cancel', 'close'].includes(data.status) && data.type != 'point' && data.end != '' && data.end != '0000-00-00' && today > data.end)
+1
View File
@@ -84,6 +84,7 @@ foreach(array_keys($fieldList['actions']['actionsMap']) as $actionKey) unset($fi
$fieldList['status']['statusMap']['changed'] = $lang->task->storyChange;
$executions = $this->execution->generateRow($executionStats, $users, $avatarList);
foreach($executions as $execution) $execution->nameCol = $execution->name;
/* zin: Define the feature bar on main menu. */
$productItems = array();