mirror of https://github.com/django/django.git
Fixed #31641 -- Improved loading of navigation sidebar in admin.
This commit is contained in:
parent
229c9c6653
commit
4ae9a2b18e
|
@ -6,6 +6,7 @@
|
|||
<link rel="stylesheet" type="text/css" href="{% block stylesheet %}{% static "admin/css/base.css" %}{% endblock %}">
|
||||
{% if not is_popup and is_nav_sidebar_enabled %}
|
||||
<link rel="stylesheet" type="text/css" href="{% static "admin/css/nav_sidebar.css" %}">
|
||||
<script src="{% static 'admin/js/nav_sidebar.js' %}" defer></script>
|
||||
{% endif %}
|
||||
{% block extrastyle %}{% endblock %}
|
||||
{% if LANGUAGE_BIDI %}<link rel="stylesheet" type="text/css" href="{% block stylesheet_rtl %}{% static "admin/css/rtl.css" %}{% endblock %}">{% endif %}
|
||||
|
@ -98,9 +99,5 @@
|
|||
</div>
|
||||
</div>
|
||||
<!-- END Container -->
|
||||
|
||||
{% if not is_popup and is_nav_sidebar_enabled %}
|
||||
<script src="{% static 'admin/js/nav_sidebar.js' %}" async></script>
|
||||
{% endif %}
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue