Skip to content

Commit

Permalink
[#2375] Add hooks to the footer for extension
Browse files Browse the repository at this point in the history
  • Loading branch information
aron committed Aug 1, 2012
1 parent 038f4f2 commit b235553
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 26 deletions.
3 changes: 2 additions & 1 deletion ckan/public/base/less/footer.less
Expand Up @@ -5,7 +5,8 @@
}

.site-footer,
.site-footer label {
.site-footer label,
.site-footer small {
color: #fff;
color: @footerTextColor;
}
Expand Down
56 changes: 31 additions & 25 deletions ckan/templates/footer.html
@@ -1,30 +1,36 @@
<footer class="site-footer">
<div class="container">

<nav class="footer-links row-fluid">
<ul class="unstyled row-fluid">
{% block footer_links %}
<li><a href="#">Terms and Conditions</a></li>
<li><a href="#">Accessibility</a></li>
<li><a href="#">Code of conduct</a></li>
<li><a href="#">Moderation policy</a></li>
<li><a href="#">FAQ</a></li>
<li><a href="#">Privacy</a></li>
<li><a href="#">Contact us</a></li>
<li><a href="#">Consultation</a></li>
{% block footer_content %}
<nav class="footer-links row-fluid">
{% block footer_nav %}
<ul class="unstyled row-fluid">
{% block footer_links %}
<li><a href="#">Terms and Conditions</a></li>
<li><a href="#">Accessibility</a></li>
<li><a href="#">Code of conduct</a></li>
<li><a href="#">Moderation policy</a></li>
<li><a href="#">FAQ</a></li>
<li><a href="#">Privacy</a></li>
<li><a href="#">Contact us</a></li>
<li><a href="#">Consultation</a></li>
{% endblock %}
</ul>
{% endblock %}
</nav>
<div class="attribution">
{% block footer_attribution %}
<p><strong>Powered by</strong> <a class="hide-text ckan-footer-logo" href="http://ckan.org">CKAN</a></p>
{% endblock %}
</ul>
</nav>
<div class="attribution">
{% block footer_attribution %}
<p><strong>Powered by</strong> <a class="hide-text ckan-footer-logo" href="http://ckan.org">CKAN</a></p>
{% endblock %}
{% block footer_lang %}
{% snippet "snippets/language_selector.html" %}
{% endblock %}
</div>
{% block footer_lang %}
{% snippet "snippets/language_selector.html" %}
{% endblock %}
</div>
{% endblock %}
</div>
{% if config.debug %}
{% include 'snippets/debug.html' %}
{% endif %}

{% block footer_debug %}
{% if config.debug %}
{% include 'snippets/debug.html' %}
{% endif %}
{% endblock %}
</footer>

0 comments on commit b235553

Please sign in to comment.