summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-08-23 20:33:02 -0400
committerFrederic Guillot <fred@kanboard.net>2016-08-23 20:33:02 -0400
commit71221c1bbd54bde7f9c9512306267351fb3970cf (patch)
treeb22995fa5b407bd7a5eead5ce4c6267c7d818fb2
parentfb24b527f2cb8a2020dd91cb63d0e1546f65a777 (diff)
Fix indentation in PR #2587
-rw-r--r--app/Core/Event/EventManager.php2
-rw-r--r--app/Model/ActionParameterModel.php2
-rw-r--r--app/Template/action_creation/params.php4
3 files changed, 4 insertions, 4 deletions
diff --git a/app/Core/Event/EventManager.php b/app/Core/Event/EventManager.php
index 68e81a9e..48a9d299 100644
--- a/app/Core/Event/EventManager.php
+++ b/app/Core/Event/EventManager.php
@@ -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);
diff --git a/app/Model/ActionParameterModel.php b/app/Model/ActionParameterModel.php
index d4d45178..cdac396e 100644
--- a/app/Model/ActionParameterModel.php
+++ b/app/Model/ActionParameterModel.php
@@ -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;
}
}
diff --git a/app/Template/action_creation/params.php b/app/Template/action_creation/params.php
index bcf863d7..c9608f21 100644
--- a/app/Template/action_creation/params.php
+++ b/app/Template/action_creation/params.php
@@ -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">