summaryrefslogtreecommitdiff
path: root/app/Template/task_list/listing.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/task_list/listing.php')
-rw-r--r--app/Template/task_list/listing.php64
1 files changed, 31 insertions, 33 deletions
diff --git a/app/Template/task_list/listing.php b/app/Template/task_list/listing.php
index b3c66aa6..97393972 100644
--- a/app/Template/task_list/listing.php
+++ b/app/Template/task_list/listing.php
@@ -1,40 +1,38 @@
-<section id="main">
- <?= $this->projectHeader->render($project, 'TaskListController', 'show') ?>
+<?= $this->projectHeader->render($project, 'TaskListController', 'show') ?>
- <?php if ($paginator->isEmpty()): ?>
- <p class="alert"><?= t('No tasks found.') ?></p>
- <?php elseif (! $paginator->isEmpty()): ?>
- <div class="table-list">
- <?= $this->render('task_list/header', array(
- 'paginator' => $paginator,
- 'project' => $project,
- )) ?>
+<?php if ($paginator->isEmpty()): ?>
+ <p class="alert"><?= t('No tasks found.') ?></p>
+<?php elseif (! $paginator->isEmpty()): ?>
+ <div class="table-list">
+ <?= $this->render('task_list/header', array(
+ 'paginator' => $paginator,
+ 'project' => $project,
+ )) ?>
- <?php foreach ($paginator->getCollection() as $task): ?>
- <div class="table-list-row color-<?= $task['color_id'] ?>">
- <?= $this->render('task_list/task_title', array(
- 'task' => $task,
- )) ?>
+ <?php foreach ($paginator->getCollection() as $task): ?>
+ <div class="table-list-row color-<?= $task['color_id'] ?>">
+ <?= $this->render('task_list/task_title', array(
+ 'task' => $task,
+ )) ?>
- <?= $this->render('task_list/task_details', array(
- 'task' => $task,
- )) ?>
+ <?= $this->render('task_list/task_details', array(
+ 'task' => $task,
+ )) ?>
- <?= $this->render('task_list/task_avatars', array(
- 'task' => $task,
- )) ?>
+ <?= $this->render('task_list/task_avatars', array(
+ 'task' => $task,
+ )) ?>
- <?= $this->render('task_list/task_icons', array(
- 'task' => $task,
- )) ?>
+ <?= $this->render('task_list/task_icons', array(
+ 'task' => $task,
+ )) ?>
- <?= $this->render('task_list/task_subtasks', array(
- 'task' => $task,
- )) ?>
- </div>
- <?php endforeach ?>
- </div>
+ <?= $this->render('task_list/task_subtasks', array(
+ 'task' => $task,
+ )) ?>
+ </div>
+ <?php endforeach ?>
+ </div>
- <?= $paginator ?>
- <?php endif ?>
-</section>
+ <?= $paginator ?>
+<?php endif ?>