diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-04-08 11:18:58 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-04-08 11:18:58 -0400 |
commit | fe9f3ba707d1caf9348ae17e0566eabd505fbce2 (patch) | |
tree | dff1f604fb6c9461642847c4b6684327806e0c8d /app/Template/project_role | |
parent | 9a8c6d6493191a09720a634c58c230dba1cafeeb (diff) |
Add assignee restriction for custom project roles (dnd)
Diffstat (limited to 'app/Template/project_role')
-rw-r--r-- | app/Template/project_role/show.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/Template/project_role/show.php b/app/Template/project_role/show.php index 5377f7bb..65c9ef11 100644 --- a/app/Template/project_role/show.php +++ b/app/Template/project_role/show.php @@ -80,7 +80,11 @@ <i class="fa fa-check-circle-o fa-fw" aria-hidden="true"></i> <strong><?= $this->text->e($restriction['src_column_title']) ?> / <?= $this->text->e($restriction['dst_column_title']) ?></strong> <i class="fa fa-arrow-right fa-fw" aria-hidden="true"></i> - <?= t('Only moving task between those columns is permitted') ?> + <?php if ($restriction['only_assigned'] == 1): ?> + <?= t('Only moving task between those columns is permitted for tasks assigned to the current user') ?> + <?php else: ?> + <?= t('Only moving task between those columns is permitted') ?> + <?php endif ?> </td> <td> <?= $this->modal->confirm('trash-o', t('Remove'), 'ColumnMoveRestrictionController', 'confirm', array('project_id' => $project['id'], 'restriction_id' => $restriction['restriction_id'])) ?> |