summaryrefslogtreecommitdiff
path: root/app/Template/column_move_restriction/create.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-04-08 11:18:58 -0400
committerFrederic Guillot <fred@kanboard.net>2017-04-08 11:18:58 -0400
commitfe9f3ba707d1caf9348ae17e0566eabd505fbce2 (patch)
treedff1f604fb6c9461642847c4b6684327806e0c8d /app/Template/column_move_restriction/create.php
parent9a8c6d6493191a09720a634c58c230dba1cafeeb (diff)
Add assignee restriction for custom project roles (dnd)
Diffstat (limited to 'app/Template/column_move_restriction/create.php')
-rw-r--r--app/Template/column_move_restriction/create.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Template/column_move_restriction/create.php b/app/Template/column_move_restriction/create.php
index 852df971..cd9e1bf5 100644
--- a/app/Template/column_move_restriction/create.php
+++ b/app/Template/column_move_restriction/create.php
@@ -12,6 +12,8 @@
<?= $this->form->label(t('Destination column'), 'dst_column_id') ?>
<?= $this->form->select('dst_column_id', $columns, $values, $errors) ?>
+ <?= $this->form->checkbox('only_assigned', t('Only for tasks assigned to the current user'), 1, isset($values['only_assigned']) && $values['only_assigned'] == 1) ?>
+
<?= $this->modal->submitButtons() ?>
<p class="alert alert-info"><?= t('People belonging to this role will be able to move tasks only between the source and the destination column.') ?></p>