Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Aubry <mattab@users.noreply.github.com>2017-09-22 23:40:29 +0300
committerGitHub <noreply@github.com>2017-09-22 23:40:29 +0300
commit82e409e2b32c78c94825ead70e03cf1ea25b3318 (patch)
tree9eab5122d6ccc54672547082315ff25504c05701 /plugins
parenta496005c7e79637daa379b61c2f03c1d1c99a18c (diff)
parent66935160d5ab2ac58fd9f5fbdcbd5ea1f033a04f (diff)
Merge pull request #12102 from piwik/templateheaderevent
Template header & footer event
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Morpheus/templates/admin.twig2
-rw-r--r--plugins/Morpheus/templates/dashboard.twig3
2 files changed, 4 insertions, 1 deletions
diff --git a/plugins/Morpheus/templates/admin.twig b/plugins/Morpheus/templates/admin.twig
index 11907c0e75..b49516e437 100644
--- a/plugins/Morpheus/templates/admin.twig
+++ b/plugins/Morpheus/templates/admin.twig
@@ -8,7 +8,9 @@
{% block body %}
{% set topMenuModule = 'CoreAdminHome' %}
{% set topMenuAction = 'home' %}
+ {{ postEvent("Template.header", "admin") }}
{{ parent() }}
+ {{ postEvent("Template.footer", "admin") }}
{% endblock %}
{% block root %}
diff --git a/plugins/Morpheus/templates/dashboard.twig b/plugins/Morpheus/templates/dashboard.twig
index bc5cd070af..cebc8be707 100644
--- a/plugins/Morpheus/templates/dashboard.twig
+++ b/plugins/Morpheus/templates/dashboard.twig
@@ -15,8 +15,9 @@
{% set bodyClass = postEvent('Template.bodyClass', 'dashboard') %}
{% block body %}
+ {{ postEvent("Template.header", "dashboard") }}
{{ parent() }}
- {{ postEvent("Template.footer") }}
+ {{ postEvent("Template.footer", "dashboard") }}
{% endblock %}
{% block root %}