summaryrefslogtreecommitdiff
path: root/app/Template
diff options
context:
space:
mode:
authordalmond <david.almond@f-grp.com>2016-08-17 12:20:12 +0100
committerDavid Almond <david.almond@f-grp.com>2016-08-17 12:51:59 +0100
commit5c685a2a78aea236153fb051ae9615ff0fe6e4a8 (patch)
treeb8ee97e5984ff13ec11d582bc5a53e9e01836ff3 /app/Template
parent98efcf21e355ed6ac3827058b99df86ca67c75bb (diff)
Automatic Actions now support Swimlanes
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 0a94e4f0..7140dc85 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">