Fix indentation in PR #2587
This commit is contained in:
parent
fb24b527f2
commit
71221c1bbd
|
|
@ -53,7 +53,7 @@ class EventManager
|
|||
TaskModel::EVENT_CREATE_UPDATE => t('Task creation or modification'),
|
||||
TaskModel::EVENT_ASSIGNEE_CHANGE => t('Task assignee change'),
|
||||
TaskModel::EVENT_DAILY_CRONJOB => t('Daily background job for tasks'),
|
||||
TaskModel::EVENT_MOVE_SWIMLANE => t('Move a task to another swimlane'),
|
||||
TaskModel::EVENT_MOVE_SWIMLANE => t('Move a task to another swimlane'),
|
||||
);
|
||||
|
||||
$events = array_merge($events, $this->events);
|
||||
|
|
|
|||
|
|
@ -160,7 +160,7 @@ class ActionParameterModel extends Base
|
|||
case 'swimlane_id':
|
||||
$column = $this->swimlaneModel->getById($value);
|
||||
return empty($column) ? false : $this->swimlaneModel->getIdByName($project_id, $column['name']) ?: false;
|
||||
default:
|
||||
default:
|
||||
return $value;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -44,10 +44,10 @@
|
|||
<?php elseif ($this->text->contains($param_name, 'swimlane_id')): ?>
|
||||
<?= $this->form->label($param_desc, $param_name) ?>
|
||||
<?= $this->form->select('params['.$param_name.']', $swimlane_list, $values) ?>
|
||||
<?php else: ?>
|
||||
<?php else: ?>
|
||||
<?= $this->form->label($param_desc, $param_name) ?>
|
||||
<?= $this->form->text('params['.$param_name.']', $values) ?>
|
||||
<?php endif ?>
|
||||
<?php endif ?>
|
||||
<?php endforeach ?>
|
||||
|
||||
<div class="form-actions">
|
||||
|
|
|
|||
Loading…
Reference in New Issue