summaryrefslogtreecommitdiff
path: root/app/Template/action_creation/params.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-05-04 22:52:08 -0400
committerFrederic Guillot <fred@kanboard.net>2016-05-04 22:52:08 -0400
commitd5c95e8240639975f61f726e9722900a8d54611f (patch)
tree3bf55bda241616303e859b0aa8f829133f290a15 /app/Template/action_creation/params.php
parent1e1c127a8548b65751eb332bf8edf5842d14d468 (diff)
Added automated action to change task color based on the priority
Diffstat (limited to 'app/Template/action_creation/params.php')
-rw-r--r--app/Template/action_creation/params.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/Template/action_creation/params.php b/app/Template/action_creation/params.php
index 59ff6ce9..46ca52a4 100644
--- a/app/Template/action_creation/params.php
+++ b/app/Template/action_creation/params.php
@@ -35,6 +35,9 @@
<?php elseif ($this->text->contains($param_name, 'link_id')): ?>
<?= $this->form->label($param_desc, $param_name) ?>
<?= $this->form->select('params['.$param_name.']', $links_list, $values) ?>
+ <?php elseif ($param_name === 'priority'): ?>
+ <?= $this->form->label($param_desc, $param_name) ?>
+ <?= $this->form->select('params['.$param_name.']', $priorities_list, $values) ?>
<?php elseif ($this->text->contains($param_name, 'duration')): ?>
<?= $this->form->label($param_desc, $param_name) ?>
<?= $this->form->number('params['.$param_name.']', $values) ?>
@@ -49,4 +52,4 @@
<?= t('or') ?>
<?= $this->url->link(t('cancel'), 'action', 'index', array('project_id' => $project['id']), false, 'close-popover') ?>
</div>
-</form> \ No newline at end of file
+</form>