summaryrefslogtreecommitdiff
path: root/app/Template
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-04-07 21:06:15 -0400
committerFrederic Guillot <fred@kanboard.net>2015-04-07 21:06:15 -0400
commit4460851615d16b1ad0047b3d21389396d8ce5234 (patch)
treebca11098edcb20f1df379767a236e442932ab391 /app/Template
parent7d1c84699ac12f91bf711ded5c93b57a644fabbf (diff)
Display the sum of task complexity in the column
Diffstat (limited to 'app/Template')
-rw-r--r--app/Template/board/swimlane.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/Template/board/swimlane.php b/app/Template/board/swimlane.php
index 744610ab..b73febb6 100644
--- a/app/Template/board/swimlane.php
+++ b/app/Template/board/swimlane.php
@@ -33,6 +33,12 @@
</span>
<?php endif ?>
+ <?php if (! empty($column['score'])): ?>
+ <span class="column-score pull-right" title="<?= t('Score') ?>">
+ <?= $column['score'] ?>&nbsp;
+ </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']) ?>)