Recurring tasks (#847): rename class constants

This commit is contained in:
Frederic Guillot
2015-05-10 15:55:57 -04:00
parent bd3c44c3d3
commit a7b77623ce
7 changed files with 37 additions and 37 deletions

View File

@@ -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">