diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/action_index.php | 2 | ||||
-rw-r--r-- | templates/action_params.php | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/templates/action_index.php b/templates/action_index.php index 6e62949e..eccc0ec4 100644 --- a/templates/action_index.php +++ b/templates/action_index.php @@ -34,6 +34,8 @@ <?= Helper\in_list($param['value'], $users_list) ?> <?php elseif (Helper\contains($param['name'], 'project_id')): ?> <?= Helper\in_list($param['value'], $projects_list) ?> + <?php elseif (Helper\contains($param['name'], 'color_id')): ?> + <?= Helper\in_list($param['value'], $colors_list) ?> <?php endif ?> </strong> </li> diff --git a/templates/action_params.php b/templates/action_params.php index e7efcda5..ed9d8b8f 100644 --- a/templates/action_params.php +++ b/templates/action_params.php @@ -25,8 +25,10 @@ <?php elseif (Helper\contains($param_name, 'project_id')): ?> <?= Helper\form_label($param_desc, $param_name) ?> <?= Helper\form_select('params['.$param_name.']', $projects_list, $values) ?><br/> + <?php elseif (Helper\contains($param_name, 'color_id')): ?> + <?= Helper\form_label($param_desc, $param_name) ?> + <?= Helper\form_select('params['.$param_name.']', $colors_list, $values) ?><br/> <?php endif ?> - <?php endforeach ?> <div class="form-actions"> |