summaryrefslogtreecommitdiff
path: root/app/Template/project_role/show.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/project_role/show.php')
-rw-r--r--app/Template/project_role/show.php6
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'])) ?>