Refactoring/rewrite of modal boxes handling
This commit is contained in:
@@ -7,9 +7,9 @@
|
||||
<?= t('Do you really want to remove this task: "%s"?', $this->text->e($task['title'])) ?>
|
||||
</p>
|
||||
|
||||
<div class="form-actions">
|
||||
<?= $this->url->link(t('Yes'), 'TaskSuppressionController', 'remove', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'redirect' => $redirect), true, 'btn btn-red popover-link') ?>
|
||||
<?= t('or') ?>
|
||||
<?= $this->url->link(t('cancel'), 'TaskViewController', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'close-popover') ?>
|
||||
</div>
|
||||
<?= $this->modal->confirmButtons(
|
||||
'TaskSuppressionController',
|
||||
'remove',
|
||||
array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'redirect' => $redirect)
|
||||
) ?>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user