summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-06-03 22:47:06 -0400
committerFrederic Guillot <fred@kanboard.net>2016-06-03 22:47:06 -0400
commit0eb4e3438c5b138b9d7bba9789bba8e961dbeccc (patch)
tree13cd591a56b9e40b50b63dc0fa1a718a1198384f
parent3eb5ec2a8588d224259c856637b76f6f4c6b7152 (diff)
parent6956d44cd22072bf9b056840d416199f4efbf22b (diff)
Merge pull-request #2188
-rw-r--r--app/Template/header.php3
-rw-r--r--doc/plugin-hooks.markdown1
2 files changed, 4 insertions, 0 deletions
diff --git a/app/Template/header.php b/app/Template/header.php
index 4efd1996..13521ae7 100644
--- a/app/Template/header.php
+++ b/app/Template/header.php
@@ -97,6 +97,9 @@
<?= $this->url->link(t('Settings'), 'ConfigController', 'index') ?>
</li>
<?php endif ?>
+
+ <?= $this->hook->render('template:header:dropdown') ?>
+
<li>
<i class="fa fa-life-ring fa-fw"></i>
<?= $this->url->link(t('Documentation'), 'DocumentationController', 'show') ?>
diff --git a/doc/plugin-hooks.markdown b/doc/plugin-hooks.markdown
index 71ae90c3..09c4e5d0 100644
--- a/doc/plugin-hooks.markdown
+++ b/doc/plugin-hooks.markdown
@@ -161,6 +161,7 @@ List of template hooks:
| `template:dashboard:sidebar` | Sidebar on dashboard page |
| `template:export:sidebar` | Sidebar on export pages |
| `template:import:sidebar` | Sidebar on import pages |
+| `template:header:dropdown` | Dropdown on header |
| `template:layout:head` | Page layout `<head/>` tag |
| `template:layout:top` | Page layout top header |
| `template:layout:bottom` | Page layout footer |