From 1c5c1a5b6d4acf020006cf04864a2fc8f050b117 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 18 Feb 2017 14:48:48 -0500 Subject: Simplify automatic actions table --- app/Template/action/index.php | 77 +++++++++++++++++++++---------------------- 1 file changed, 37 insertions(+), 40 deletions(-) (limited to 'app/Template/action') diff --git a/app/Template/action/index.php b/app/Template/action/index.php index 90db0450..a889f588 100644 --- a/app/Template/action/index.php +++ b/app/Template/action/index.php @@ -14,13 +14,21 @@

+ - - - - + + - -
+ - + text->in($action['action_name'], $available_actions) ?> +
    @@ -28,43 +36,32 @@ = text->in($action['event_name'], $available_events) ?> -
  • - = - text->in($action['action_name'], $available_actions) ?> -
  • -
      -
-
    - $param_value): ?> -
  • - text->in($param_name, $available_params[$action['action_name']]) ?> = - - text->contains($param_name, 'column_id')): ?> - text->in($param_value, $columns_list) ?> - text->contains($param_name, 'user_id')): ?> - text->in($param_value, $users_list) ?> - text->contains($param_name, 'project_id')): ?> - text->in($param_value, $projects_list) ?> - text->contains($param_name, 'color_id')): ?> - text->in($param_value, $colors_list) ?> - text->contains($param_name, 'category_id')): ?> - text->in($param_value, $categories_list) ?> - text->contains($param_name, 'link_id')): ?> - text->in($param_value, $links_list) ?> - text->contains($param_name, 'swimlane_id')): ?> - text->in($param_value, $swimlane_list) ?> - - text->e($param_value) ?> - - -
  • - + $param_value): ?> +
  • + text->in($param_name, $available_params[$action['action_name']]) ?> = + + text->contains($param_name, 'column_id')): ?> + text->in($param_value, $columns_list) ?> + text->contains($param_name, 'user_id')): ?> + text->in($param_value, $users_list) ?> + text->contains($param_name, 'project_id')): ?> + text->in($param_value, $projects_list) ?> + text->contains($param_name, 'color_id')): ?> + text->in($param_value, $colors_list) ?> + text->contains($param_name, 'category_id')): ?> + text->in($param_value, $categories_list) ?> + text->contains($param_name, 'link_id')): ?> + text->in($param_value, $links_list) ?> + text->contains($param_name, 'swimlane_id')): ?> + text->in($param_value, $swimlane_list) ?> + + text->e($param_value) ?> + + +
  • +
- modal->confirm('trash-o', t('Remove'), 'ActionController', 'confirm', array('project_id' => $project['id'], 'action_id' => $action['id'])) ?> -
-- cgit v1.2.3