summaryrefslogtreecommitdiff
path: root/app/Template
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-08-23 20:24:43 -0400
committerFrederic Guillot <fred@kanboard.net>2016-08-23 20:24:43 -0400
commitfb24b527f2cb8a2020dd91cb63d0e1546f65a777 (patch)
treeafc75c421d899c4fe063430d983e2dc53eac8341 /app/Template
parent4ffb4df5fddc110042361485dc5397b4dfe8c85c (diff)
parent37425d45a621929bfa209f84f101ac8cd42b0d06 (diff)
Merge pull-request #2587
Diffstat (limited to 'app/Template')
-rw-r--r--app/Template/action/index.php2
-rw-r--r--app/Template/action_creation/params.php7
2 files changed, 7 insertions, 2 deletions
diff --git a/app/Template/action/index.php b/app/Template/action/index.php
index 085ea3ad..7768a0b6 100644
--- a/app/Template/action/index.php
+++ b/app/Template/action/index.php
@@ -54,6 +54,8 @@
<?= $this->text->in($param_value, $categories_list) ?>
<?php elseif ($this->text->contains($param_name, 'link_id')): ?>
<?= $this->text->in($param_value, $links_list) ?>
+ <?php elseif ($this->text->contains($param_name, 'swimlane_id')): ?>
+ <?= $this->text->in($param_value, $swimlane_list) ?>
<?php else: ?>
<?= $this->text->e($param_value) ?>
<?php endif ?>
diff --git a/app/Template/action_creation/params.php b/app/Template/action_creation/params.php
index fa892177..bcf863d7 100644
--- a/app/Template/action_creation/params.php
+++ b/app/Template/action_creation/params.php
@@ -41,10 +41,13 @@
<?php elseif ($this->text->contains($param_name, 'duration')): ?>
<?= $this->form->label($param_desc, $param_name) ?>
<?= $this->form->number('params['.$param_name.']', $values) ?>
- <?php else: ?>
+ <?php elseif ($this->text->contains($param_name, 'swimlane_id')): ?>
+ <?= $this->form->label($param_desc, $param_name) ?>
+ <?= $this->form->select('params['.$param_name.']', $swimlane_list, $values) ?>
+ <?php else: ?>
<?= $this->form->label($param_desc, $param_name) ?>
<?= $this->form->text('params['.$param_name.']', $values) ?>
- <?php endif ?>
+ <?php endif ?>
<?php endforeach ?>
<div class="form-actions">