summaryrefslogtreecommitdiff
path: root/app/Template
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template')
-rw-r--r--app/Template/action/index.php6
-rw-r--r--app/Template/action_creation/params.php3
2 files changed, 8 insertions, 1 deletions
diff --git a/app/Template/action/index.php b/app/Template/action/index.php
index a6fc70f9..29b6aca6 100644
--- a/app/Template/action/index.php
+++ b/app/Template/action/index.php
@@ -45,7 +45,11 @@
</li>
<?php foreach ($action['params'] as $param_name => $param_value): ?>
<li>
- <?= $this->text->in($param_name, $available_params[$action['action_name']]) ?> =
+ <?php if (isset($available_params[$action['action_name']][$param_name]) && is_array($available_params[$action['action_name']][$param_name])): ?>
+ <?= $this->text->e(ucfirst($param_name)) ?> =
+ <?php else: ?>
+ <?= $this->text->in($param_name, $available_params[$action['action_name']]) ?> =
+ <?php endif ?>
<strong>
<?php if ($this->text->contains($param_name, 'column_id')): ?>
<?= $this->text->in($param_value, $columns_list) ?>
diff --git a/app/Template/action_creation/params.php b/app/Template/action_creation/params.php
index 6c30d6c6..9083b949 100644
--- a/app/Template/action_creation/params.php
+++ b/app/Template/action_creation/params.php
@@ -42,6 +42,9 @@
<?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 elseif (is_array($param_desc)): ?>
+ <?= $this->form->label(ucfirst($param_name), $param_name) ?>
+ <?= $this->form->select('params['.$param_name.']', $param_desc, $values) ?>
<?php else: ?>
<?= $this->form->label($param_desc, $param_name) ?>
<?= $this->form->text('params['.$param_name.']', $values) ?>