Redesign task list view

This commit is contained in:
Frederic Guillot
2017-02-19 17:08:00 -05:00
parent dc7c7667ec
commit 3b3e803369
22 changed files with 379 additions and 130 deletions

View File

@@ -0,0 +1,11 @@
<div>
<?php if ($this->user->hasProjectAccess('TaskModificationController', 'edit', $task['project_id'])): ?>
<?= $this->render('task/dropdown', array('task' => $task)) ?>
<?php else: ?>
<strong><?= '#'.$task['id'] ?></strong>
<?php endif ?>
<span class="task-list-title <?= $task['is_active'] == 0 ? 'task-closed' : '' ?>">
<?= $this->url->link($this->text->e($task['title']), 'TaskViewController', 'show', array('project_id' => $task['project_id'], 'task_id' => $task['id'])) ?>
</span>
</div>