diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-11-24 21:32:03 -0500 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-11-24 21:32:03 -0500 |
commit | 37c6616e50dbce2a298a27513b9882bb105405b0 (patch) | |
tree | 32fc40db197717893aa08dc50fa275a6804fa34a /app/Template/subtask_show.php | |
parent | 5d7cff35261b485a994f5346f682fd802218de8d (diff) |
Integrate tooltips and code cleanup/fix bugs, see #166
Diffstat (limited to 'app/Template/subtask_show.php')
-rw-r--r-- | app/Template/subtask_show.php | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/app/Template/subtask_show.php b/app/Template/subtask_show.php index 29f4bfd1..686b160e 100644 --- a/app/Template/subtask_show.php +++ b/app/Template/subtask_show.php @@ -19,13 +19,7 @@ <tr> <td><?= Helper\escape($subtask['title']) ?></td> <td> - <?php if ($subtask['status'] == 0): ?> - <i class="fa fa-square-o fa-fw"></i> - <?php elseif ($subtask['status'] == 1): ?> - <i class="fa fa-gears fa-fw"></i> - <?php else: ?> - <i class="fa fa-check-square-o fa-fw"></i> - <?php endif ?> + <?= Helper\template('subtask/icons', array('subtask' => $subtask)) ?> <?php if (! isset($not_editable)): ?> <?= Helper\a(Helper\escape($subtask['status_name']), 'subtask', 'toggleStatus', array('task_id' => $task['id'], 'subtask_id' => $subtask['id'])) ?> |