Refactoring/rewrite of modal boxes handling
This commit is contained in:
@@ -7,9 +7,9 @@
|
||||
<?= t('Do you really want to duplicate this task?') ?>
|
||||
</p>
|
||||
|
||||
<div class="form-actions">
|
||||
<?= $this->url->link(t('Yes'), 'TaskDuplicationController', 'duplicate', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'confirmation' => 'yes'), true, 'btn btn-red') ?>
|
||||
<?= 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(
|
||||
'TaskDuplicationController',
|
||||
'duplicate',
|
||||
array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'confirmation' => 'yes')
|
||||
) ?>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user