summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/ishtar/blocks/advanced_shortcut_menu.html
diff options
context:
space:
mode:
authorValérie-Emma Leroux <emma@iggdrasil.net>2017-04-07 11:40:31 +0200
committerValérie-Emma Leroux <emma@iggdrasil.net>2017-04-07 11:40:31 +0200
commit7f22d3c20cc24debfe123425efa63ec5293e4b4c (patch)
treef773b80964981c231c892ee5255b94285bc5620a /ishtar_common/templates/ishtar/blocks/advanced_shortcut_menu.html
parent9127307734c85b816ac7dbb539b565ffb106d60f (diff)
parentda4af2ab5d105f6d2ce442b517e532b7570616e3 (diff)
downloadIshtar-7f22d3c20cc24debfe123425efa63ec5293e4b4c.tar.bz2
Ishtar-7f22d3c20cc24debfe123425efa63ec5293e4b4c.zip
Merge branch 'master' of git.iggdrasil.net:/srv/git/ishtar
Conflicts: archaeological_operations/templates/ishtar/sheet_operation.html
Diffstat (limited to 'ishtar_common/templates/ishtar/blocks/advanced_shortcut_menu.html')
-rw-r--r--ishtar_common/templates/ishtar/blocks/advanced_shortcut_menu.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/ishtar_common/templates/ishtar/blocks/advanced_shortcut_menu.html b/ishtar_common/templates/ishtar/blocks/advanced_shortcut_menu.html
index 1758bcf54..5cea8b5a7 100644
--- a/ishtar_common/templates/ishtar/blocks/advanced_shortcut_menu.html
+++ b/ishtar_common/templates/ishtar/blocks/advanced_shortcut_menu.html
@@ -42,5 +42,9 @@
</table>
</fieldset>
</form>
-<script type='text/javascript'>var advanced_menu = true;</script>
+<script type='text/javascript'>
+var advanced_menu = true;
+{% if SHORTCUT_SHOW == 'off' %}var shortcut_menu_hide = true;
+{% else %}var shortcut_menu_hide = false;{% endif %}
+</script>
{% endif %}