Skip to content

Commit

Permalink
wrap up bottom scripts in layout_base.html so that this section can b…
Browse files Browse the repository at this point in the history
…e replaced or appended to in other templates
  • Loading branch information
Augusto Herrmann authored and amercader committed Jun 1, 2012
1 parent be850dd commit 60bc98c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ckan/templates/layout_base.html
Expand Up @@ -215,7 +215,8 @@ <h3 class="widget-title">Meta</h3>
</div>
</footer>
</div> <!-- eo #container -->


<div style="display:none;" id="scripts">
<script src="${h.url_for_static('/scripts/vendor/jquery/1.7.1/jquery.js')}"></script>
<script type="text/javascript" src="${h.url_for_static('/scripts/vendor/json2.js')}"></script>
<script type="text/javascript" src="${h.url_for_static('/scripts/vendor/jquery.tmpl/beta1/jquery.tmpl.js')}"></script>
Expand Down Expand Up @@ -288,6 +289,7 @@ <h3 class="widget-title">Meta</h3>
});
</script>
</py:if>
</div> <!-- #scripts -->

<py:if test="defined('optional_footer')">
${optional_footer()}
Expand Down

0 comments on commit 60bc98c

Please sign in to comment.