diff --git a/module/project/js/execution.ui.js b/module/project/js/execution.ui.js index c940f300ea..3c30dc4c49 100644 --- a/module/project/js/execution.ui.js +++ b/module/project/js/execution.ui.js @@ -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) diff --git a/module/project/ui/execution.html.php b/module/project/ui/execution.html.php index 80a3d2405d..2334b57284 100644 --- a/module/project/ui/execution.html.php +++ b/module/project/ui/execution.html.php @@ -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();