summaryrefslogtreecommitdiff
path: root/app/Template/board/popover_close_all_tasks_column.php
blob: da6b9ad7552c5b3b87f2e2fe5336a288df382b48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<section id="main">
    <div class="page-header">
        <h2><?= t('Do you really want to close all tasks of this column?') ?></h2>
    </div>
    <form method="post" action="<?= $this->url->href('BoardPopover', 'closeColumnTasks', array('project_id' => $project['id'])) ?>">
        <?= $this->form->csrf() ?>
        <?= $this->form->hidden('column_id', $values) ?>
        <?= $this->form->hidden('swimlane_id', $values) ?>

        <p class="alert"><?= t('%d task(s) in the column "%s" and the swimlane "%s" will be closed.', $nb_tasks, $column, $swimlane) ?></p>

        <div class="form-actions">
            <input type="submit" value="<?= t('Save') ?>" class="btn btn-red">
            <?= t('or') ?>
            <?= $this->url->link(t('cancel'), 'board', 'show', array('project_id' => $project['id']), false, 'close-popover') ?>
        </div>
    </form>
</section>