Add fedmenu to hyperkitty.

This commit is contained in:
Ralph Bean 2015-06-30 17:13:41 +00:00
parent 859dd9e929
commit 2ffb0794b4
2 changed files with 19 additions and 0 deletions

View file

@ -310,6 +310,10 @@
state=directory owner=root group=root mode=0755
tags: mailman
- name: Install our fedmenu js hook
template: src=bottom.html dest=/srv/webui/templates/hyperkitty/bottom.html
tags: mailman
#
# Plug HyperKitty into Mailman
#

View file

@ -0,0 +1,15 @@
{% if env == 'staging' %}
<script src="https://apps.stg.fedoraproject.org/fedmenu/js/fedmenu.js"> </script>
{% else %}
<script src="https://apps.fedoraproject.org/fedmenu/js/fedmenu.js"> </script>
{% endif %}
<script>
fedmenu({
{% if env == 'staging' %}
'url': 'https://apps.stg.fedoraproject.org/js/data.js',
{% else %}
'url': 'https://apps.fedoraproject.org/js/data.js',
{% endif %}
'position': 'bottom-right'
});
</script>