Refactoring/rewrite of modal boxes handling
This commit is contained in:
@@ -7,8 +7,9 @@
|
||||
<?= t('Do you really want to remove this custom role: "%s"? All people assigned to this role will become project member.', $role['role']) ?>
|
||||
</p>
|
||||
|
||||
<div class="form-actions">
|
||||
<?= $this->url->link(t('Yes'), 'ProjectRoleController', 'remove', array('project_id' => $project['id'], 'role_id' => $role['role_id']), true, 'btn btn-red') ?>
|
||||
<?= t('or') ?> <?= $this->url->link(t('cancel'), 'ProjectRoleController', 'show', array('project_id' => $project['id']), false, 'close-popover') ?>
|
||||
</div>
|
||||
<?= $this->modal->confirmButtons(
|
||||
'ProjectRoleController',
|
||||
'remove',
|
||||
array('project_id' => $project['id'], 'role_id' => $role['role_id'])
|
||||
) ?>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user