mirror of
https://github.com/YunoHost-Apps/kanboard_ynh.git
synced 2024-09-03 19:36:17 +02:00
37 lines
No EOL
1.9 KiB
PHP
37 lines
No EOL
1.9 KiB
PHP
<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->text->e($recurrence_trigger_list[$task['recurrence_trigger']]) ?></strong>
|
|
</li>
|
|
<li>
|
|
<?= t('Factor to calculate new due date: ') ?><strong><?= $this->text->e($task['recurrence_factor']) ?></strong>
|
|
</li>
|
|
<li>
|
|
<?= t('Timeframe to calculate new due date: ') ?><strong><?= $this->text->e($recurrence_timeframe_list[$task['recurrence_timeframe']]) ?></strong>
|
|
</li>
|
|
<li>
|
|
<?= t('Base date to calculate new due date: ') ?><strong><?= $this->text->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>
|