summaryrefslogtreecommitdiff
path: root/app/Template/tasklink/remove.php
blob: 9322ec24e609db33ac34ea10c465aa68b463535c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<div class="page-header">
    <h2><?= t('Remove a link') ?></h2>
</div>

<div class="confirm">
    <p class="alert alert-info">
        <?= t('Do you really want to remove this link with task #%d?', $link['opposite_task_id']) ?>
    </p>

    <div class="form-actions">
        <?= $this->a(t('Yes'), 'tasklink', 'remove', array('link_id' => $link['id'], 'task_id' => $task['id'], 'project_id' => $task['project_id']), true, 'btn btn-red') ?>
        <?= t('or') ?>
        <?= $this->a(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>
    </div>
</div>