mirror of
https://github.com/wagtail/wagtail.git
synced 2024-12-01 11:41:20 +01:00
removed compress, changed static to staticfiles
This commit is contained in:
parent
ff3dc32665
commit
632b0c1821
@ -1,9 +1,7 @@
|
|||||||
{% load compress static i18n %}
|
{% load staticfiles i18n %}
|
||||||
<!-- Wagtail user bar embed code -->
|
<!-- Wagtail user bar embed code -->
|
||||||
<div class="wagtail-userbar" data-wagtail-userbar>
|
<div class="wagtail-userbar" data-wagtail-userbar>
|
||||||
{% compress css %}
|
|
||||||
<link rel="stylesheet" href="{% static 'wagtailadmin/css/userbar.css' %}" type="text/css" />
|
<link rel="stylesheet" href="{% static 'wagtailadmin/css/userbar.css' %}" type="text/css" />
|
||||||
{% endcompress %}
|
|
||||||
<div class="wagtail-userbar-nav">
|
<div class="wagtail-userbar-nav">
|
||||||
<div class="icon icon-wagtail wagtail-userbar-trigger" data-wagtail-userbar-trigger>{% trans 'Go to Wagtail admin interface' %}</div>
|
<div class="icon icon-wagtail wagtail-userbar-trigger" data-wagtail-userbar-trigger>{% trans 'Go to Wagtail admin interface' %}</div>
|
||||||
<ul>
|
<ul>
|
||||||
@ -12,8 +10,6 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
{% compress js %}
|
|
||||||
<script src="{% static 'wagtailadmin/js/userbar.js' %}"></script>
|
<script src="{% static 'wagtailadmin/js/userbar.js' %}"></script>
|
||||||
{% endcompress %}
|
|
||||||
</div>
|
</div>
|
||||||
<!-- end Wagtail user bar embed code -->
|
<!-- end Wagtail user bar embed code -->
|
||||||
|
Loading…
Reference in New Issue
Block a user