diff --git a/src/Hackspace/Bundle/CalciferBundle/Resources/assets/js/events.js b/src/Hackspace/Bundle/CalciferBundle/Resources/assets/js/events.js index 22e1c14..3e041be 100755 --- a/src/Hackspace/Bundle/CalciferBundle/Resources/assets/js/events.js +++ b/src/Hackspace/Bundle/CalciferBundle/Resources/assets/js/events.js @@ -13,6 +13,12 @@ jQuery(document).ready(function () { jQuery('.icon.link').popup(); } + $('.ui.sticky') + .sticky({ + context: '#main' + }) + ; + if (jQuery('input[type=datetime]').length > 0) { jQuery('input[type=datetime]').datetimepicker({lang: 'de', format: 'Y-m-d H:i'}); } diff --git a/src/Hackspace/Bundle/CalciferBundle/Resources/views/layout.html.twig b/src/Hackspace/Bundle/CalciferBundle/Resources/views/layout.html.twig index 00d49c0..65c1829 100755 --- a/src/Hackspace/Bundle/CalciferBundle/Resources/views/layout.html.twig +++ b/src/Hackspace/Bundle/CalciferBundle/Resources/views/layout.html.twig @@ -19,15 +19,15 @@
-{% include "CalciferBundle::navigation.html.twig" %} +