summaryrefslogtreecommitdiff
path: root/app/Template/config/project.php
blob: a212f65f9dbb40f0a245d3a2f4c84497a2ea4a34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<div class="page-header">
    <h2><?= t('Project settings') ?></h2>
</div>
<form method="post" action="<?= $this->url->href('config', 'project') ?>" autocomplete="off">

    <?= $this->form->csrf() ?>

    <?= $this->form->label(t('Default task color'), 'default_color') ?>
    <?= $this->form->select('default_color', $colors, $values, $errors) ?>

    <?= $this->form->label(t('Default columns for new projects (Comma-separated)'), 'board_columns') ?>
    <?= $this->form->text('board_columns', $values, $errors) ?>
    <p class="form-help"><?= t('Default values are "%s"', $default_columns) ?></p>

    <?= $this->form->label(t('Default categories for new projects (Comma-separated)'), 'project_categories') ?>
    <?= $this->form->text('project_categories', $values, $errors) ?>
    <p class="form-help"><?= t('Example: "Bug, Feature Request, Improvement"') ?></p>

    <?= $this->form->checkbox('subtask_restriction', t('Allow only one subtask in progress at the same time for a user'), 1, $values['subtask_restriction'] == 1) ?>
    <?= $this->form->checkbox('subtask_time_tracking', t('Trigger automatically subtask time tracking'), 1, $values['subtask_time_tracking'] == 1) ?>
    <?= $this->form->checkbox('cfd_include_closed_tasks', t('Include closed tasks in the cumulative flow diagram'), 1, $values['cfd_include_closed_tasks'] == 1) ?>

    <div class="form-actions">
        <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue">
    </div>
</form>