Skip to content

Commit

Permalink
Temporarily use full nunjucks on NetworkView
Browse files Browse the repository at this point in the history
Until mozilla/nunjucks#1019 is resolved
  • Loading branch information
krassowski committed Aug 3, 2017
1 parent 9b02522 commit 2bd2ddb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions website/templates/network/show.html
Expand Up @@ -20,12 +20,15 @@
{{ dependency('bootstrap_table_css') }}

{# Nunjucks templates #}
{#
{% if is_debug_mode %}
{{ dependency('nunjucks') }}
{% else %}
{{ dependency('nunjucks_slim') }}
<script type="text/javascript" src="/static/js_templates/precompiled/network.js"></script>
{% endif %}
#}
{{ dependency('nunjucks') }}

{{ dependency('clipboard.js') }}

Expand Down Expand Up @@ -308,9 +311,7 @@ <h3 class="panel-title">

<script type="text/javascript">
nunjucks.configure('/static/js_templates', {autoescape: true});
{% if is_debug_mode %}
nunjucks.installJinjaCompat()
{% endif %}
nunjucks.installJinjaCompat()

affix($('#sticky_box'), $('footer'));

Expand Down

0 comments on commit 2bd2ddb

Please sign in to comment.