Merge "Revert "Turn off angular template cache preloading when DEBUG=True""

This commit is contained in:
Jenkins 2016-12-15 09:16:57 +00:00 committed by Gerrit Code Review
commit c6d656a0b1
1 changed files with 5 additions and 7 deletions

View File

@ -60,13 +60,11 @@
{% endcompress %}
{% if not debug %}
{% compress js file angular_template_cache_preloads %}
{% cache NG_TEMPLATE_CACHE_AGE angular 'template_cache_preloads' THEME %}
{% angular_templates %}
{% endcache %}
{% endcompress %}
{% endif %}
{% compress js file angular_template_cache_preloads %}
{% cache NG_TEMPLATE_CACHE_AGE angular 'template_cache_preloads' THEME %}
{% angular_templates %}
{% endcache %}
{% endcompress %}
{% comment %} Client-side Templates (These should *not* be inside the "compress" tag.) {% endcomment %}
{% include "horizon/client_side/templates.html" %}