Add a 'due date' field and display the number of comments on the board

This commit is contained in:
Frédéric Guillot
2014-03-05 22:27:48 -05:00
parent 1e994f3448
commit 544f992424
15 changed files with 195 additions and 6 deletions

View File

@@ -74,6 +74,19 @@
<?= Helper\escape($task['title']) ?>
</div>
<div class="task-footer">
<?php if (! empty($task['date_due'])): ?>
<div class="task-date">
<?= dt('%B %e, %G', $task['date_due']) ?>
</div>
<?php endif ?>
<?php if (! empty($task['nb_comments'])): ?>
<div class="task-comment-counter">
<?= $task['nb_comments'] ?>
</div>
<?php endif ?>
</div>
</div>
</div>
<?php endforeach ?>