diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-05-10 15:55:57 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-05-10 15:55:57 -0400 |
commit | a7b77623ce602a44a341f747fdfe43dbdc268304 (patch) | |
tree | 28040eb9633cba305962aaf56df81cce55113eff /app/Template/task | |
parent | bd3c44c3d337d49b02e19da0c6baed1a4abec37b (diff) |
Recurring tasks (#847): rename class constants
Diffstat (limited to 'app/Template/task')
-rw-r--r-- | app/Template/task/details.php | 2 | ||||
-rw-r--r-- | app/Template/task/edit_recurrence.php | 4 | ||||
-rw-r--r-- | app/Template/task/recurring_info.php | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/app/Template/task/details.php b/app/Template/task/details.php index 32f0fbb8..c70945bc 100644 --- a/app/Template/task/details.php +++ b/app/Template/task/details.php @@ -81,7 +81,7 @@ </li> <?php endif ?> - <?php if (! isset($not_editable) && $task['recurrence_status'] != \Model\Task::RECURE_STATUS_NONE): ?> + <?php if (! isset($not_editable) && $task['recurrence_status'] != \Model\Task::RECURRING_STATUS_NONE): ?> <li> <strong><?= t('Recurring information') ?></strong> <?= $this->render('task/recurring_info', array( diff --git a/app/Template/task/edit_recurrence.php b/app/Template/task/edit_recurrence.php index 7a65173c..76894bd4 100644 --- a/app/Template/task/edit_recurrence.php +++ b/app/Template/task/edit_recurrence.php @@ -2,7 +2,7 @@ <h2><?= t('Edit recurrence') ?></h2> </div> -<?php if ($task['recurrence_status'] != \Model\Task::RECURE_STATUS_NONE): ?> +<?php if ($task['recurrence_status'] != \Model\Task::RECURRING_STATUS_NONE): ?> <div class="listing"> <?= $this->render('task/recurring_info', array( 'task' => $task, @@ -13,7 +13,7 @@ </div> <?php endif ?> -<?php if ($task['recurrence_status'] != \Model\Task::RECURE_STATUS_PROCESSED): ?> +<?php if ($task['recurrence_status'] != \Model\Task::RECURRING_STATUS_PROCESSED): ?> <form method="post" action="<?= $this->u('task', 'recurrence', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'ajax' => $ajax)) ?>" autocomplete="off"> diff --git a/app/Template/task/recurring_info.php b/app/Template/task/recurring_info.php index 1009a970..2a283337 100644 --- a/app/Template/task/recurring_info.php +++ b/app/Template/task/recurring_info.php @@ -1,7 +1,7 @@ <ul> - <?php if ($task['recurrence_status'] == \Model\Task::RECURE_STATUS_PENDING): ?> + <?php if ($task['recurrence_status'] == \Model\Task::RECURRING_STATUS_PENDING): ?> <li><?= t('Recurrent task is scheduled to be generated') ?></li> - <?php elseif ($task['recurrence_status'] == \Model\Task::RECURE_STATUS_PROCESSED): ?> + <?php elseif ($task['recurrence_status'] == \Model\Task::RECURRING_STATUS_PROCESSED): ?> <li><?= t('Recurrent task has been generated') ?> <ul> <li> |