diff --git a/Theme/Backend/task-dashboard.tpl.php b/Theme/Backend/task-dashboard.tpl.php index 7ef6b94..9701490 100755 --- a/Theme/Backend/task-dashboard.tpl.php +++ b/Theme/Backend/task-dashboard.tpl.php @@ -26,132 +26,262 @@ $open = $this->getData('open'); echo $this->getData('nav')->render(); ?> - -
| = $this->getHtml('Status'); ?> + | = $this->getHtml('Due/Priority'); ?> + | = $this->getHtml('Title'); ?> + | = $this->getHtml('Tag'); ?> + | = $this->getHtml('Creator'); ?> + | = $this->getHtml('Created'); ?> + | + $task) : ++$c; + $url = UriFactory::build(!empty($task->redirect) + ? '{/lang}{/app}/' . $task->redirect + : ('task/single?{?}&id=' . $task->id), + ['$id' => $task->id] + ); + ?> +
| + + + = $this->getHtml('S' . $task->getStatus()); ?> + + + | + + getPriority() === TaskPriority::NONE) : ?> + = $this->printHtml($task->due->format('Y-m-d H:i')); ?> + + = $this->getHtml('P' . $task->getPriority()); ?> + + + | + = $this->printHtml($task->title); ?> + | + getTags(); foreach ($tags as $tag) : ?> + + = !empty($tag->icon) ? '' : ''; ?>= $this->printHtml($tag->getL11n()); ?> + + + | + = $this->printHtml($this->renderUserName('%3$s %2$s %1$s', [$task->createdBy->name1, $task->createdBy->name2, $task->createdBy->name3, $task->createdBy->login ?? ''])); ?> + | + = $this->printHtml($task->createdAt->format('Y-m-d H:i')); ?> + + |
| = $this->getHtml('Empty', '0', '0'); ?> + + | |||||