summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/Template/project_list/show.php4
-rw-r--r--doc/plugin-hooks.markdown4
2 files changed, 4 insertions, 4 deletions
diff --git a/app/Template/project_list/show.php b/app/Template/project_list/show.php
index 76a3ad7b..4f7c2e83 100644
--- a/app/Template/project_list/show.php
+++ b/app/Template/project_list/show.php
@@ -1,14 +1,14 @@
<section id="main">
<div class="page-header">
<ul>
- <?= $this->hook->render('template:projectlist:menubefore', array('project' => $project)) ?>
+ <?= $this->hook->render('template:project-list:menu:before', array('project' => $project)) ?>
<?php if ($this->user->hasAccess('ProjectUserOverviewController', 'managers')): ?>
<li><i class="fa fa-user fa-fw"></i><?= $this->url->link(t('Users overview'), 'ProjectUserOverviewController', 'managers') ?></li>
<?php endif ?>
<?php if ($this->user->hasAccess('ProjectGanttController', 'show')): ?>
<li><i class="fa fa-sliders fa-fw"></i><?= $this->url->link(t('Projects Gantt chart'), 'ProjectGanttController', 'show') ?></li>
<?php endif ?>
- <?= $this->hook->render('template:projectlist:menuafter', array('project' => $project)) ?>
+ <?= $this->hook->render('template:project-list:menu:after', array('project' => $project)) ?>
</ul>
</div>
<?php if ($paginator->isEmpty()): ?>
diff --git a/doc/plugin-hooks.markdown b/doc/plugin-hooks.markdown
index 6dbbe387..b5d25a40 100644
--- a/doc/plugin-hooks.markdown
+++ b/doc/plugin-hooks.markdown
@@ -218,8 +218,8 @@ List of template hooks:
| `template:project:integrations` | Integration page in projects settings |
| `template:project:sidebar` | Sidebar in project settings |
| `template:project-user:sidebar` | Sidebar on project user overview page |
-| `template:projectlist:menubefore` | Projectlist: before menu entries |
-| `template:projectlist:menuafter` | Projectlist: after menu entries |
+| `template:project-list:menu:before` | Project list: before menu entries |
+| `template:project-list:menu:after` | Project list: after menu entries |
| `template:task:layout:top` | Task layout top (after page header) |
| `template:task:details:top` | Task summary top |
| `template:task:details:bottom` | Task summary bottom |