summaryrefslogtreecommitdiff
path: root/app/Template/task
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-02-05 18:39:41 -0500
committerFrederic Guillot <fred@kanboard.net>2016-02-05 18:39:41 -0500
commita683c17fa7828fabc1b107265a87b07a91322c8f (patch)
tree530aa4b3befd3a09880d27b0028ecce7aa150a21 /app/Template/task
parent9ae2024b0ae8f2a6d79b34a63d3f84a10818bf00 (diff)
Move template recurrence_info
Diffstat (limited to 'app/Template/task')
-rw-r--r--app/Template/task/recurring_info.php37
1 files changed, 0 insertions, 37 deletions
diff --git a/app/Template/task/recurring_info.php b/app/Template/task/recurring_info.php
deleted file mode 100644
index 83ca0960..00000000
--- a/app/Template/task/recurring_info.php
+++ /dev/null
@@ -1,37 +0,0 @@
-<ul>
- <?php if ($task['recurrence_status'] == \Kanboard\Model\Task::RECURRING_STATUS_PENDING): ?>
- <li><?= t('Recurrent task is scheduled to be generated') ?></li>
- <?php elseif ($task['recurrence_status'] == \Kanboard\Model\Task::RECURRING_STATUS_PROCESSED): ?>
- <li><?= t('Recurrent task has been generated:') ?>
- <ul>
- <li>
- <?= t('Trigger to generate recurrent task: ') ?><strong><?= $this->e($recurrence_trigger_list[$task['recurrence_trigger']]) ?></strong>
- </li>
- <li>
- <?= t('Factor to calculate new due date: ') ?><strong><?= $this->e($task['recurrence_factor']) ?></strong>
- </li>
- <li>
- <?= t('Timeframe to calculate new due date: ') ?><strong><?= $this->e($recurrence_timeframe_list[$task['recurrence_timeframe']]) ?></strong>
- </li>
- <li>
- <?= t('Base date to calculate new due date: ') ?><strong><?= $this->e($recurrence_basedate_list[$task['recurrence_basedate']]) ?></strong>
- </li>
- </ul>
- </li>
- <?php endif ?>
-
- <?php if ($task['recurrence_parent'] || $task['recurrence_child']): ?>
- <?php if ($task['recurrence_parent']): ?>
- <li>
- <?= t('This task has been created by: ') ?>
- <?= $this->url->link('#'.$task['recurrence_parent'], 'task', 'show', array('task_id' => $task['recurrence_parent'], 'project_id' => $task['project_id'])) ?>
- </li>
- <?php endif ?>
- <?php if ($task['recurrence_child']): ?>
- <li>
- <?= t('This task has created this child task: ') ?>
- <?= $this->url->link('#'.$task['recurrence_child'], 'task', 'show', array('task_id' => $task['recurrence_child'], 'project_id' => $task['project_id'])) ?>
- </li>
- <?php endif ?>
- <?php endif ?>
-</ul> \ No newline at end of file