summaryrefslogtreecommitdiff
path: root/plugins/TaskIntervalButton/Template/task_add_interval/add_interval_button.php
blob: faf1996a1151dc57bbecdeb5d4357d2f0a527436 (plain)
1
2
3
4
5
<?php if ($task['is_active'] == 1): ?>
<li>
<?= $this->modal->confirm('clock-o', t('Add time interval'), 'TaskIntervalController', 'confirm', array('plugin' => 'TaskIntervalButton', 'task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>
</li>
<?php endif ?>