Restrict actions for project viewers
This commit is contained in:
@@ -1,33 +1,34 @@
|
||||
<section id="main" class="public-task">
|
||||
|
||||
<?= $this->render('task/details', array('task' => $task, 'project' => $project, 'not_editable' => true)) ?>
|
||||
<?= $this->render('task/details', array('task' => $task, 'project' => $project, 'editable' => false)) ?>
|
||||
|
||||
<p class="pull-right"><?= $this->url->link(t('Back to the board'), 'board', 'readonly', array('token' => $project['token'])) ?></p>
|
||||
|
||||
<?= $this->render('task/description', array(
|
||||
'task' => $task,
|
||||
'project' => $project,
|
||||
'is_public' => true
|
||||
'is_public' => true,
|
||||
)) ?>
|
||||
|
||||
<?= $this->render('tasklink/show', array(
|
||||
'task' => $task,
|
||||
'links' => $links,
|
||||
'project' => $project,
|
||||
'not_editable' => true
|
||||
'editable' => false,
|
||||
'is_public' => true,
|
||||
)) ?>
|
||||
|
||||
<?= $this->render('subtask/show', array(
|
||||
'task' => $task,
|
||||
'subtasks' => $subtasks,
|
||||
'not_editable' => true
|
||||
'editable' => false
|
||||
)) ?>
|
||||
|
||||
<?= $this->render('task/comments', array(
|
||||
'task' => $task,
|
||||
'comments' => $comments,
|
||||
'project' => $project,
|
||||
'not_editable' => true,
|
||||
'editable' => false,
|
||||
'is_public' => true,
|
||||
)) ?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user