diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | app/Template/app/filters_helper.php | 4 | ||||
-rw-r--r-- | doc/plugin-hooks.markdown | 2 |
3 files changed, 5 insertions, 2 deletions
@@ -9,6 +9,7 @@ New features: Improvements: * Add dropdown menu for subtasks +* Add new template hooks Bug fixes: diff --git a/app/Template/app/filters_helper.php b/app/Template/app/filters_helper.php index 4e11c669..e4cbb942 100644 --- a/app/Template/app/filters_helper.php +++ b/app/Template/app/filters_helper.php @@ -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)) ?>
\ No newline at end of file +<?= $this->hook->render('template:app:filters-helper:after', isset($project) ? array('project' => $project) : array()) ?>
\ No newline at end of file diff --git a/doc/plugin-hooks.markdown b/doc/plugin-hooks.markdown index 733e201f..6e9718d9 100644 --- a/doc/plugin-hooks.markdown +++ b/doc/plugin-hooks.markdown @@ -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. |