summaryrefslogtreecommitdiff
path: root/app/Template/subtask
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-11-24 21:32:03 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-11-24 21:32:03 -0500
commit37c6616e50dbce2a298a27513b9882bb105405b0 (patch)
tree32fc40db197717893aa08dc50fa275a6804fa34a /app/Template/subtask
parent5d7cff35261b485a994f5346f682fd802218de8d (diff)
Integrate tooltips and code cleanup/fix bugs, see #166
Diffstat (limited to 'app/Template/subtask')
-rw-r--r--app/Template/subtask/icons.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/Template/subtask/icons.php b/app/Template/subtask/icons.php
new file mode 100644
index 00000000..1f31d51f
--- /dev/null
+++ b/app/Template/subtask/icons.php
@@ -0,0 +1,7 @@
+<?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 ?> \ No newline at end of file