diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-01-24 20:38:39 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-01-24 20:38:39 -0500 |
commit | 051bf1c9dbb5733242c7657d6d507389206b33ee (patch) | |
tree | 9f1a61fa8558dd572b7c577f51599586e3c48a7e /app/Template/task_modification | |
parent | 60f3d7f83d23014f9cfb7d8494d6cebd2f8b24a3 (diff) |
Add configurable task priority
Diffstat (limited to 'app/Template/task_modification')
-rw-r--r-- | app/Template/task_modification/edit_task.php | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/app/Template/task_modification/edit_task.php b/app/Template/task_modification/edit_task.php index 6fdb77b5..2701dd8f 100644 --- a/app/Template/task_modification/edit_task.php +++ b/app/Template/task_modification/edit_task.php @@ -8,7 +8,7 @@ <div class="form-column"> <?= $this->form->label(t('Title'), 'title') ?> - <?= $this->form->text('title', $values, $errors, array('autofocus', 'required', 'maxlength="200"', 'tabindex="1"')) ?><br/> + <?= $this->form->text('title', $values, $errors, array('autofocus', 'required', 'maxlength="200"', 'tabindex="1"')) ?> <?= $this->form->label(t('Description'), 'description') ?> <div class="form-tabs"> @@ -45,16 +45,18 @@ <?= $this->form->hidden('project_id', $values) ?> <?= $this->form->label(t('Assignee'), 'owner_id') ?> - <?= $this->form->select('owner_id', $users_list, $values, $errors, array('tabindex="3"')) ?><br/> + <?= $this->form->select('owner_id', $users_list, $values, $errors, array('tabindex="3"')) ?> <?= $this->form->label(t('Category'), 'category_id') ?> - <?= $this->form->select('category_id', $categories_list, $values, $errors, array('tabindex="4"')) ?><br/> + <?= $this->form->select('category_id', $categories_list, $values, $errors, array('tabindex="4"')) ?> <?= $this->form->label(t('Complexity'), 'score') ?> - <?= $this->form->number('score', $values, $errors, array('tabindex="6"')) ?><br/> + <?= $this->form->number('score', $values, $errors, array('tabindex="6"')) ?> + + <?= $this->task->selectPriority($project, $values) ?> <?= $this->form->label(t('Due Date'), 'date_due') ?> - <?= $this->form->text('date_due', $values, $errors, array('placeholder="'.$this->text->in($date_format, $date_formats).'"', 'tabindex="7"'), 'form-date') ?><br/> + <?= $this->form->text('date_due', $values, $errors, array('placeholder="'.$this->text->in($date_format, $date_formats).'"', 'tabindex="8"'), 'form-date') ?> <div class="form-help"><?= t('Others formats accepted: %s and %s', date('Y-m-d'), date('Y_m_d')) ?></div> </div> |