Skip to content

Commit

Permalink
fix for footer nav
Browse files Browse the repository at this point in the history
  • Loading branch information
Maarten Taeymans committed Apr 10, 2015
1 parent 11adabd commit c724954
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
3 changes: 2 additions & 1 deletion pyoes/static/js/app.js
Expand Up @@ -10,6 +10,7 @@ $('#mobile-menu-select').change(function() {
/*
// Function to stick footer to the bottom of page
// -- not working 100% becauce of 'vlaanderen' banners
*/
$(document).ready(function() {
var footer = $("#footer-bottom");
var pos = footer.position();
Expand All @@ -22,4 +23,4 @@ $(document).ready(function() {
'margin-top': height + 'px'
});
}
});*/
});
1 change: 1 addition & 0 deletions pyoes/templates/layout.jinja2
Expand Up @@ -19,3 +19,4 @@

{% set login_nav = [] -%}
{% set login_sub_nav = [] -%}

6 changes: 5 additions & 1 deletion pyoes/templates/pyoes/footer.jinja2
Expand Up @@ -3,7 +3,11 @@
<div class="footer-bottom-inner inner">
<nav class="footer-doormat clearfix">
{% block footer scoped %}

<ul>
{% for caption, href in footer_nav %}
<li><a href="{{ href }}">{{ caption }}</a></li>
{% endfor %}
</ul>
{% endblock %}
</nav>
</div>
Expand Down
3 changes: 2 additions & 1 deletion pyoes/templates/pyoes/layout.jinja2
Expand Up @@ -11,6 +11,7 @@
{% set login_sub_nav = login_sub_nav -%}
{% set service_nav = service_nav -%}
{% set home_link = home_link -%}
{% set footer_nav = footer_nav %}

{% set default_footer_nav = [
('Toegankelijkheid', '/toegankelijkheid'),
Expand Down Expand Up @@ -80,7 +81,7 @@
{% endblock %}

{% block content scoped %}
{% endblock %}
{% endblock %}
<div class="push"></div>
</div>
<div id="footerContainer">
Expand Down

0 comments on commit c724954

Please sign in to comment.