From b8fa0246803dab40cf57d40b45984c53046f2d55 Mon Sep 17 00:00:00 2001 From: "Dzial Techniczny WMW Projekt s.c" Date: Tue, 10 Dec 2019 11:34:53 +0100 Subject: Plugins directory and local modifications --- .../Template/action_creation/params.php | 73 ++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 plugins/Group_assign/Template/action_creation/params.php (limited to 'plugins/Group_assign/Template/action_creation/params.php') diff --git a/plugins/Group_assign/Template/action_creation/params.php b/plugins/Group_assign/Template/action_creation/params.php new file mode 100644 index 00000000..0506007b --- /dev/null +++ b/plugins/Group_assign/Template/action_creation/params.php @@ -0,0 +1,73 @@ + + +
+ form->csrf() ?> + + form->hidden('event_name', $values) ?> + form->hidden('action_name', $values) ?> + + form->label(t('Action'), 'action_name') ?> + form->select('action_name', $available_actions, $values, array(), array('disabled')) ?> + + form->label(t('Event'), 'event_name') ?> + form->select('event_name', $events, $values, array(), array('disabled')) ?> + + $param_desc): ?> + text->contains($param_name, 'column_id')): ?> + form->label($param_desc, $param_name) ?> + form->select('params['.$param_name.']', $columns_list, $values) ?> + text->contains($param_name, 'user_id')): ?> + form->label($param_desc, $param_name) ?> + form->select('params['.$param_name.']', $users_list, $values) ?> + text->contains($param_name, 'group_id')): ?> + model->projectGroupRoleModel->getGroups($values['project_id']); ?> + + + + + + form->label($param_desc, $param_name) ?> + form->select('params['.$param_name.']', $groupvalues, $values) ?> + text->contains($param_name, 'check_box')): ?> + form->label(t('Options'), $param_name) ?> + form->checkbox('params['.$param_name.']', $param_desc, 1) ?> + text->contains($param_name, 'project_id')): ?> + form->label($param_desc, $param_name) ?> + form->select('params['.$param_name.']', $projects_list, $values) ?> + text->contains($param_name, 'color_id')): ?> + form->label($param_desc, $param_name) ?> + form->select('params['.$param_name.']', $colors_list, $values) ?> + text->contains($param_name, 'category_id')): ?> + form->label($param_desc, $param_name) ?> + form->select('params['.$param_name.']', $categories_list, $values) ?> + text->contains($param_name, 'link_id')): ?> + form->label($param_desc, $param_name) ?> + form->select('params['.$param_name.']', $links_list, $values) ?> + + form->label($param_desc, $param_name) ?> + form->select('params['.$param_name.']', $priorities_list, $values) ?> + text->contains($param_name, 'duration')): ?> + form->label($param_desc, $param_name) ?> + form->number('params['.$param_name.']', $values) ?> + text->contains($param_name, 'swimlane_id')): ?> + form->label($param_desc, $param_name) ?> + form->select('params['.$param_name.']', $swimlane_list, $values) ?> + + form->label(ucfirst($param_name), $param_name) ?> + form->select('params['.$param_name.']', $param_desc, $values) ?> + text->contains($param_name, 'multitasktitles')): ?> + form->label($param_desc, $param_name) ?> + form->textarea('params['.$param_name.']', $values) ?> +
+ +
+ + form->label($param_desc, $param_name) ?> + form->text('params['.$param_name.']', $values) ?> + + + + modal->submitButtons() ?> +
-- cgit v1.2.3