From 0a163421c7550d241534c5ef6f4c8a833547941a Mon Sep 17 00:00:00 2001 From: Busfreak Date: Wed, 3 Feb 2016 18:00:20 +0100 Subject: add hook in analysis sidebar --- app/Template/analytic/sidebar.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/Template/analytic/sidebar.php b/app/Template/analytic/sidebar.php index 19eef8d5..e809863a 100644 --- a/app/Template/analytic/sidebar.php +++ b/app/Template/analytic/sidebar.php @@ -22,6 +22,9 @@
  • app->checkMenuSelection('analytic', 'compareHours') ?>> url->link(t('Estimated vs actual time'), 'analytic', 'compareHours', array('project_id' => $project['id'])) ?>
  • + + hook->render('template:analytic:sidebar', array('project' => $project)) ?> + -- cgit v1.2.3 From 8d53811ae96e2d1595c8dccbd2ecb125388da4f5 Mon Sep 17 00:00:00 2001 From: Busfreak Date: Wed, 3 Feb 2016 18:49:33 +0100 Subject: added missing hooks and sorting by name --- doc/plugin-hooks.markdown | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) 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. -- cgit v1.2.3