* finish task #3752 and fix bug #1339.

This commit is contained in:
Catouse
2018-03-19 16:30:23 +08:00
parent f6e84c6dfb
commit a28fbfca27
2 changed files with 8 additions and 1 deletions
+3
View File
@@ -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}
+5 -1
View File
@@ -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 "<td class='" . $class . "'" . $title . ">";