{% load compress %}
{% load datepicker_locale from horizon %}
{% load template_cache_age from horizon %}
{% load themes %}
{% load cache %}
{% load angular_templates from angular %}
{% datepicker_locale as DATEPICKER_LOCALE %}
{% current_theme as THEME %}
{% template_cache_age as NG_TEMPLATE_CACHE_AGE %}
{% include "horizon/_script_i18n.html" %}
{% comment %} Compress Horizon-specific JS. {% endcomment %}
{% compress js %}
{% if HORIZON_CONFIG.integration_tests_support %}
{% endif %}
{% for file in HORIZON_CONFIG.js_files %}
{% endfor %}
{% block custom_js_files %}{% endblock %}
{% endcompress %}
{% 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" %}
{% comment %}Locale sensitive js needs to be included outisde the "compress" tag{% endcomment %}
{% if DATEPICKER_LOCALE and DATEPICKER_LOCALE != 'en' %}
{% endif %}
{% comment %}Go!{% endcomment %}