Add new automated action to change task color based on the task link

This commit is contained in:
Frederic Guillot
2015-08-22 17:39:37 -04:00
parent fd60964c23
commit cd9bc86fbe
30 changed files with 262 additions and 10 deletions

View File

@@ -42,6 +42,8 @@
<?= $this->text->in($param['value'], $colors_list) ?>
<?php elseif ($this->text->contains($param['name'], 'category_id')): ?>
<?= $this->text->in($param['value'], $categories_list) ?>
<?php elseif ($this->text->contains($param['name'], 'link_id')): ?>
<?= $this->text->in($param['value'], $links_list) ?>
<?php else: ?>
<?= $this->e($param['value']) ?>
<?php endif ?>

View File

@@ -28,6 +28,9 @@
<?php elseif ($this->text->contains($param_name, 'category_id')): ?>
<?= $this->form->label($param_desc, $param_name) ?>
<?= $this->form->select('params['.$param_name.']', $categories_list, $values) ?><br/>
<?php elseif ($this->text->contains($param_name, 'link_id')): ?>
<?= $this->form->label($param_desc, $param_name) ?>
<?= $this->form->select('params['.$param_name.']', $links_list, $values) ?><br/>
<?php else: ?>
<?= $this->form->label($param_desc, $param_name) ?>
<?= $this->form->text('params['.$param_name.']', $values) ?>