diff --git a/module/project/css/task.css b/module/project/css/task.css index 9004885852..30202972a5 100644 --- a/module/project/css/task.css +++ b/module/project/css/task.css @@ -25,3 +25,6 @@ tbody > tr > td > .btn-icon {margin-right: 2px} #projectTaskForm{padding:0px 1px;} + +.table td.has-child > a {max-width: 90%; max-width: calc(100% - 30px); display: inline-block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;} +.table td.has-child > .task-toggle {position: relative; top: 1px} diff --git a/module/task/model.php b/module/task/model.php index b52222e7ed..1268761e55 100644 --- a/module/task/model.php +++ b/module/task/model.php @@ -2092,7 +2092,11 @@ class taskModel extends model if($id == 'assignedTo' && $task->assignedTo == $account) $class .= ' red'; $title = ''; - if($id == 'name') $title = " title='{$task->name}'"; + if($id == 'name') + { + $title = " title='{$task->name}'"; + if(!empty($task->children)) $class .= ' has-child'; + } if($id == 'story') $title = " title='{$task->storyTitle}'"; echo "