소스 검색

Fix dashboard media

Denis K 8 년 전
부모
커밋
870c25433c
2개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      jet/dashboard/templates/admin/app_index.html
  2. 3 0
      jet/dashboard/templates/admin/index.html

+ 3 - 0
jet/dashboard/templates/admin/app_index.html

@@ -5,6 +5,7 @@
     {{ block.super }}
     <link rel="stylesheet" type="text/css" href="{% static "admin/css/dashboard.css" %}" />
 
+    {% get_dashboard 'app_index' as dashboard %}
     {% for css in dashboard.media.css %}
         <link href="{% static css %}" rel="stylesheet" />
     {% endfor %}
@@ -12,6 +13,8 @@
 
 {% block extrahead %}
     {{ block.super }}
+
+    {% get_dashboard 'app_index' as dashboard %}
     {% for js in dashboard.media.js %}
         <script src="{% static js %}"></script>
     {% endfor %}

+ 3 - 0
jet/dashboard/templates/admin/index.html

@@ -5,6 +5,7 @@
     {{ block.super }}
     <link rel="stylesheet" type="text/css" href="{% static "admin/css/dashboard.css" %}" />
 
+    {% get_dashboard 'index' as dashboard %}
     {% for css in dashboard.media.css %}
         <link href="{% static css %}" rel="stylesheet" />
     {% endfor %}
@@ -12,6 +13,8 @@
 
 {% block extrahead %}
     {{ block.super }}
+
+    {% get_dashboard 'index' as dashboard %}
     {% for js in dashboard.media.js %}
         <script src="{% static js %}"></script>
     {% endfor %}