Add less.js to Dashboard Layout
OSCAR_USE_LESS = True doesn't work in Oscar Dashboard. This commit makes it work by putting less.js on dashboard/layout.html
{% endblock %}
+{% block cdn_scripts %}
+ {{ block.super }}
+ {% if use_less and debug %}
+ {# Load the on-the-fly less compiler. Never do this in production. #}
+ <script src="//cdnjs.cloudflare.com/ajax/libs/less.js/2.5.3/less.min.js"></script>
+ {% endif %}
+{% endblock %}
+
{# Local scripts #}
{% block scripts %}
<!-- Twitter Bootstrap -->
