diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-02-05 17:10:00 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-02-05 17:10:00 -0500 |
commit | 62fcb7544f64baeca9b0e766ee9343e1c200ec7a (patch) | |
tree | f19f9c31b07661180ff00137646943a59707968d | |
parent | 791d13c87bf510d913973b77a5f6d152311a1d87 (diff) | |
parent | 8d53811ae96e2d1595c8dccbd2ecb125388da4f5 (diff) |
Merge pull-request #1783
-rw-r--r-- | app/Template/analytic/sidebar.php | 3 | ||||
-rw-r--r-- | doc/plugin-hooks.markdown | 17 |
2 files changed, 14 insertions, 6 deletions
diff --git a/app/Template/analytic/sidebar.php b/app/Template/analytic/sidebar.php index f1810c6a..76289b9f 100644 --- a/app/Template/analytic/sidebar.php +++ b/app/Template/analytic/sidebar.php @@ -22,5 +22,8 @@ <li <?= $this->app->checkMenuSelection('analytic', 'compareHours') ?>> <?= $this->url->link(t('Estimated vs actual time'), 'analytic', 'compareHours', array('project_id' => $project['id'])) ?> </li> + + <?= $this->hook->render('template:analytic:sidebar', array('project' => $project)) ?> + </ul> </div> diff --git a/doc/plugin-hooks.markdown b/doc/plugin-hooks.markdown index eac027c2..6e15e858 100644 --- a/doc/plugin-hooks.markdown +++ b/doc/plugin-hooks.markdown @@ -151,13 +151,14 @@ Template names without prefix are core templates. List of template hooks: +- `template:analytic:sidebar` +- `template:app:filters-helper:before` +- `template:app:filters-helper:after` - `template:auth:login-form:before` - `template:auth:login-form:after` -- `template:dashboard:sidebar` - `template:config:sidebar` - `template:config:integrations` -- `template:project:integrations` -- `template:user:integrations` +- `template:dashboard:sidebar` - `template:export:sidebar` - `template:layout:head` - `template:layout:top` @@ -165,12 +166,16 @@ List of template hooks: - `template:project:dropdown`: "Actions" menu on left in different project views - `template:project:header:before` - `template:project:header:after` +- `template:project:integrations` +- `template:project:sidebar` - `template:project-user:sidebar` - `template:task:sidebar:information` - `template:task:sidebar:actions` -- `template:user:sidebar:information` +- `template:user:authentication:form` +- `template:user:create-remote:form` +- `template:user:external` +- `template:user:integrations` - `template:user:sidebar:actions` -- `template:app:filters-helper:before` -- `template:app:filters-helper:after` +- `template:user:sidebar:information` Another template hooks can be added if necessary, just ask on the issue tracker. |