Add hooks in task sidebar as in user sidebar (#2138)
This commit is contained in:
committed by
Frédéric Guillot
parent
bd64a2081a
commit
53c992d680
@@ -23,6 +23,8 @@
|
||||
<?= $this->url->link(t('Time tracking'), 'task', 'timetracking', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>
|
||||
</li>
|
||||
<?php endif ?>
|
||||
|
||||
<?= $this->hook->render('template:task:sidebar:information', array('task' => $task)) ?>
|
||||
</ul>
|
||||
|
||||
<?php if ($this->user->hasProjectAccess('taskmodification', 'edit', $task['project_id'])): ?>
|
||||
@@ -91,8 +93,8 @@
|
||||
<?= $this->url->link(t('Remove'), 'task', 'remove', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'popover') ?>
|
||||
</li>
|
||||
<?php endif ?>
|
||||
|
||||
<?= $this->hook->render('template:task:sidebar:actions', array('task' => $task)) ?>
|
||||
</ul>
|
||||
<?php endif ?>
|
||||
|
||||
<?= $this->hook->render('template:task:sidebar', array('task' => $task)) ?>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user