Rename template hooks added by last PR

This commit is contained in:
Frederic Guillot 2016-01-12 22:01:54 -05:00
parent a8008102ef
commit dfd0c4e48d
3 changed files with 5 additions and 2 deletions

View File

@ -9,6 +9,7 @@ New features:
Improvements:
* Add dropdown menu for subtasks
* Add new template hooks
Bug fixes:

View File

@ -1,4 +1,4 @@
<?= $this->hook->render('template:app:filters_helper:before', isset($project) ? array('project' => $project) : array('project' => $project = 0)) ?>
<?= $this->hook->render('template:app:filters-helper:before', isset($project) ? array('project' => $project) : array()) ?>
<div class="dropdown filters">
<i class="fa fa-caret-down"></i> <a href="#" class="dropdown-menu"><?= t('Filters') ?></a>
<ul>
@ -17,4 +17,4 @@
</li>
</ul>
</div>
<?= $this->hook->render('template:app:filters_helper:after', isset($project) ? array('project' => $project) : array('project' => $project = 0)) ?>
<?= $this->hook->render('template:app:filters-helper:after', isset($project) ? array('project' => $project) : array()) ?>

View File

@ -150,5 +150,7 @@ List of template hooks:
- `template:task:sidebar:actions`
- `template:user:sidebar:information`
- `template:user:sidebar:actions`
- `template:app:filters-helper:before`
- `template:app:filters-helper:after`
Another template hooks can be added if necessary, just ask on the issue tracker.