diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-10-17 14:04:21 -0700 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-10-17 14:04:21 -0700 |
commit | 5ad1a42a34e4e463a94971a5edec95f9b5716b14 (patch) | |
tree | 19126529aa10c692997c3e644545ab200dc25f7d /app/Template/action/index.php | |
parent | 41c2ab0c2451ea00d1236bc31f13ee7c2da97c3a (diff) |
Add support for array in automatic actions
Diffstat (limited to 'app/Template/action/index.php')
-rw-r--r-- | app/Template/action/index.php | 6 |
1 files changed, 5 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) ?> |