diff options
author | Stefan Giehl <stefan@piwik.org> | 2017-11-30 06:41:48 +0300 |
---|---|---|
committer | Matthieu Aubry <mattab@users.noreply.github.com> | 2017-11-30 06:41:48 +0300 |
commit | af3a79c055bfe2c5778b5827ba3d165674315f4b (patch) | |
tree | a0e4432d5be6318209f968536dcaf1fa2494a86b /plugins/CoreHome/templates | |
parent | e80aeb9ccecc2f175176d8920d241a93de168920 (diff) |
Show shortcut help screen when pressing `?` (#12283)
* Adds help screen for shortcuts
* Dynamically create shortcut summary by using new js method piwikHelper.registerShortcut
* Update CHANGELOG.md
Diffstat (limited to 'plugins/CoreHome/templates')
-rw-r--r-- | plugins/CoreHome/templates/_shortcuts.twig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/CoreHome/templates/_shortcuts.twig b/plugins/CoreHome/templates/_shortcuts.twig new file mode 100644 index 0000000000..957663b724 --- /dev/null +++ b/plugins/CoreHome/templates/_shortcuts.twig @@ -0,0 +1,4 @@ +<div class="ui-confirm" id="shortcuthelp"> + <h2>{{ 'CoreHome_ShortcutsAvailable'|translate }}</h2> + <dl></dl> +</div>
\ No newline at end of file |