2014-12-22 19:15:38 +01:00
|
|
|
<div class="page-header">
|
|
|
|
<h2><?= t('Close a task') ?></h2>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="confirm">
|
|
|
|
<p class="alert alert-info">
|
2015-01-16 14:23:05 +01:00
|
|
|
<?= t('Do you really want to close this task: "%s"?', $this->e($task['title'])) ?>
|
2014-12-22 19:15:38 +01:00
|
|
|
</p>
|
|
|
|
|
|
|
|
<div class="form-actions">
|
2015-01-16 14:23:05 +01:00
|
|
|
<?= $this->a(t('Yes'), 'task', 'close', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'confirmation' => 'yes'), true, 'btn btn-red') ?>
|
2014-12-22 19:15:38 +01:00
|
|
|
<?= t('or') ?>
|
2015-01-16 14:23:05 +01:00
|
|
|
<?= $this->a(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>
|
2014-12-22 19:15:38 +01:00
|
|
|
</div>
|
|
|
|
</div>
|