summaryrefslogtreecommitdiff
path: root/app/Template/board/swimlane.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-02-14 21:03:25 -0500
committerFrederic Guillot <fred@kanboard.net>2015-02-14 21:03:25 -0500
commit7c4bdea324d8074ffcc3fa353fcfd85ee8066634 (patch)
tree2542a985fd47d3dce14c06e6872febb34751d302 /app/Template/board/swimlane.php
parent2eec0185ab2af2bd51356423152ec4a4374bb78e (diff)
Add board filter: collapse/expand tasks
Diffstat (limited to 'app/Template/board/swimlane.php')
-rw-r--r--app/Template/board/swimlane.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/Template/board/swimlane.php b/app/Template/board/swimlane.php
index f0a00fc1..ec5272f3 100644
--- a/app/Template/board/swimlane.php
+++ b/app/Template/board/swimlane.php
@@ -26,13 +26,13 @@
<?php endif ?>
<?= $this->e($column['title']) ?>
-
+
<?php if (! empty($column['description'])): ?>
- <span class="column-tooltip pull-right" title="<?= $this->markdown($column['description']) ?>">
+ <span class="column-tooltip pull-right" title="<?= $this->markdown($column['description']) ?>">
<i class="fa fa-info-circle"></i>
</span>
<?php endif ?>
-
+
<?php if ($column['task_limit']): ?>
<span title="<?= t('Task limit') ?>" class="task-limit">
(<span id="task-number-column-<?= $column['id'] ?>"><?= $column['nb_tasks'] ?></span>/<?= $this->e($column['task_limit']) ?>)
@@ -65,7 +65,7 @@
<?php endif ?>
<?php foreach ($column['tasks'] as $task): ?>
- <?= $this->render('board/task', array(
+ <?= $this->render($not_editable ? 'board/task_public' : 'board/task', array(
'project' => $project,
'task' => $task,
'categories' => $categories,