summaryrefslogtreecommitdiff
path: root/app/Template/board/task_footer.php
diff options
context:
space:
mode:
authorDavid-Norris <Dave@Rachels-MacBook-Pro.local>2015-05-03 00:12:28 -0400
committerDavid-Norris <Dave@Rachels-MacBook-Pro.local>2015-05-03 00:12:28 -0400
commita314bbb489eff2d419481ad001805ce13edb5352 (patch)
tree43961ee5b42857f905eb8042af5090d0a4413221 /app/Template/board/task_footer.php
parentfa5aaa60934223f74c9b9c32e7599f53c72a81fd (diff)
Initial Recurring Tasks Commit
Initial Recurring Tasks Commit No Locales Updated.
Diffstat (limited to 'app/Template/board/task_footer.php')
-rw-r--r--app/Template/board/task_footer.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/Template/board/task_footer.php b/app/Template/board/task_footer.php
index 36ed2684..b8868f52 100644
--- a/app/Template/board/task_footer.php
+++ b/app/Template/board/task_footer.php
@@ -25,6 +25,14 @@
</span>
<?php endif ?>
+ <?php if ($task['recurrence_status'] == \Model\Task::RECURE_STATUS_PENDING): ?>
+ <span title="<?= t('Recurrence') ?>" class="task-board-tooltip" data-href="<?= $this->u('board', 'recurrence', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>"><i class="fa fa-refresh fa-rotate-90"></i></span>
+ <?php endif ?>
+
+ <?php if ($task['recurrence_status'] == \Model\Task::RECURE_STATUS_PROCESSED): ?>
+ <span title="<?= t('Recurrence') ?>" class="task-board-tooltip" data-href="<?= $this->u('board', 'recurrence', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>"><i class="fa fa-refresh fa-rotate-90 fa-inverse"></i></span>
+ <?php endif ?>
+
<?php if (! empty($task['nb_links'])): ?>
<span title="<?= t('Links') ?>" class="task-board-tooltip" data-href="<?= $this->u('board', 'tasklinks', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>"><i class="fa fa-code-fork"></i>&nbsp;<?= $task['nb_links'] ?></span>
<?php endif ?>