diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-02-05 20:30:54 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-02-05 20:30:54 -0500 |
commit | de5fa17d601a578b3d5c42bd3fb700c7b5395ab3 (patch) | |
tree | cf5ff9e8694f1674d2a487cc16fd5b0fbbb44630 /app/Template/listing/show.php | |
parent | 9840fa8e07a609245c0db0c56c77cb83491b5acc (diff) |
Add task dropdown menu on listing pages
Diffstat (limited to 'app/Template/listing/show.php')
-rw-r--r-- | app/Template/listing/show.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/listing/show.php b/app/Template/listing/show.php index aa17b228..c24110f4 100644 --- a/app/Template/listing/show.php +++ b/app/Template/listing/show.php @@ -4,7 +4,7 @@ 'filters' => $filters, )) ?> - <?php if (! empty($values['search']) && $paginator->isEmpty()): ?> + <?php if ($paginator->isEmpty()): ?> <p class="alert"><?= t('No tasks found.') ?></p> <?php elseif (! $paginator->isEmpty()): ?> <table class="table-fixed table-small"> @@ -21,7 +21,7 @@ <?php foreach ($paginator->getCollection() as $task): ?> <tr> <td class="task-table color-<?= $task['color_id'] ?>"> - <?= $this->url->link('#'.$this->e($task['id']), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, '', t('View this task')) ?> + <?= $this->render('task/dropdown', array('task' => $task)) ?> </td> <td> <?= $this->e($task['swimlane_name'] ?: $task['default_swimlane']) ?> |