summaryrefslogtreecommitdiff
path: root/app/Template/board/table_swimlane.php
diff options
context:
space:
mode:
authorFabiano Pereira <fabiano.pereira@serpro.gov.br>2015-09-03 16:27:28 -0300
committerFabiano Pereira <fabiano.pereira@serpro.gov.br>2015-09-04 10:17:20 -0300
commit339c990577a0c6fa8fd99959fe52aa25eff59c8f (patch)
tree1fd5c720fb8a142a6fbaafea1c26b145773a8d67 /app/Template/board/table_swimlane.php
parentde91d5820b9f987b17bea245ecf999b8e6aa7a81 (diff)
#1144 Add description field to swimlane.
Diffstat (limited to 'app/Template/board/table_swimlane.php')
-rw-r--r--app/Template/board/table_swimlane.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/Template/board/table_swimlane.php b/app/Template/board/table_swimlane.php
index be401633..ab4735b1 100644
--- a/app/Template/board/table_swimlane.php
+++ b/app/Template/board/table_swimlane.php
@@ -65,6 +65,14 @@
<div title="<?= t('Task count') ?>" class="board-column-header-task-count">
(<span><?= $swimlane['nb_tasks'] ?></span>)
+
+ <?php if (! empty($swimlane['description'])): ?>
+ <span title="<?= t('Description') ?>" class="tooltip"
+ data-href="<?= $this->url->href('swimlane', 'description', array('swimlane_id' => $swimlane['id'], 'project_id' => $swimlane['project_id'])) ?>">
+ <i class="fa fa-file-text-o"></i>
+ </span>
+ <?php endif ?>
+
</div>
</th>
<?php endif ?>