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