Redesign project list view

This commit is contained in:
Frederic Guillot
2017-02-19 18:27:57 -05:00
parent b5c56d4239
commit a43f71dda9
20 changed files with 217 additions and 156 deletions

View File

@@ -4,10 +4,10 @@
<?php if ($paginator->isEmpty()): ?>
<p class="alert"><?= t('No tasks found.') ?></p>
<?php elseif (! $paginator->isEmpty()): ?>
<div class="task-list">
<div class="table-list">
<?= $this->render('task_list/header', array('paginator' => $paginator)) ?>
<?php foreach ($paginator->getCollection() as $task): ?>
<div class="task-list-row color-<?= $task['color_id'] ?>">
<div class="table-list-row color-<?= $task['color_id'] ?>">
<?= $this->render('task_list/task_title', array(
'task' => $task,
)) ?>