diff options
Diffstat (limited to 'plugins/TaskIntervalButton/Template/task_add_interval/add_interval_confirm.php')
-rw-r--r-- | plugins/TaskIntervalButton/Template/task_add_interval/add_interval_confirm.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/plugins/TaskIntervalButton/Template/task_add_interval/add_interval_confirm.php b/plugins/TaskIntervalButton/Template/task_add_interval/add_interval_confirm.php new file mode 100644 index 00000000..21789f77 --- /dev/null +++ b/plugins/TaskIntervalButton/Template/task_add_interval/add_interval_confirm.php @@ -0,0 +1,15 @@ +<div class="page-header"> + <h2><?= t('Add interval') ?></h2> +</div> + +<div class="confirm"> + <p class="alert alert-info"> + <?= t('Do you really want to add interval (30 minutes) to this task: "%s"?', $this->text->e($task['title'])) ?> + </p> + + <?= $this->modal->confirmButtons( + 'TaskIntervalController', + 'addInterval', + array('plugin' => 'TaskIntervalButton', 'task_id' => $task['id'], 'project_id' => $task['project_id']) + ) ?> +</div>
\ No newline at end of file |