Add new dashboard template and board selector hooks

This commit is contained in:
Timo
2020-03-03 05:29:45 +01:00
committed by GitHub
parent b39f857dc4
commit 86dd0a7a75
3 changed files with 16 additions and 0 deletions

View File

@@ -5,7 +5,12 @@
<strong><?= '#'.$project['id'] ?></strong>
<?php endif ?>
<?= $this->hook->render('template:dashboard:project:before-title', array('project' => $project)) ?>
<span class="table-list-title <?= $project['is_active'] == 0 ? 'status-closed' : '' ?>">
<?= $this->url->link($this->text->e($project['name']), 'BoardViewController', 'show', array('project_id' => $project['id'])) ?>
</span>
<?= $this->hook->render('template:dashboard:project:after-title', array('project' => $project)) ?>
</div>