* [bug#60375] Show execution name when has no priv.
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user