mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
removed js_block: use page_js or app_js instead
This commit is contained in:
parent
2751a8e848
commit
e2a867901d
@ -56,8 +56,7 @@
|
|||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block js_block %}
|
{% block page_js %}
|
||||||
{{ js|safe }}
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
(function($) {
|
(function($) {
|
||||||
|
|||||||
@ -176,9 +176,6 @@
|
|||||||
<!-- Local link to system Bootstrap JS -->
|
<!-- Local link to system Bootstrap JS -->
|
||||||
<script type="text/javascript" src="{% static 'theme/bootstrap/js/bootstrap.min.js' %}"></script>
|
<script type="text/javascript" src="{% static 'theme/bootstrap/js/bootstrap.min.js' %}"></script>
|
||||||
|
|
||||||
{% block js_block %}
|
|
||||||
{{ js|safe }}
|
|
||||||
{% endblock %}
|
|
||||||
{% block app_js %}<!-- placeholder for app-specific js files -->{% endblock %}
|
{% block app_js %}<!-- placeholder for app-specific js files -->{% endblock %}
|
||||||
{% block page_js %}<!-- placeholder for page-specific js files -->{% endblock %}
|
{% block page_js %}<!-- placeholder for page-specific js files -->{% endblock %}
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user