mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-23 10:01:04 +00:00
Javascript file in correct template
This commit is contained in:
parent
34635b0c3f
commit
80efd58881
3 changed files with 6 additions and 1 deletions
|
@ -386,4 +386,5 @@
|
||||||
|
|
||||||
{% block scripts %}
|
{% block scripts %}
|
||||||
<script src="{% static "js/vendor/tabs.js" %}?v={{ js_cache }}"></script>
|
<script src="{% static "js/vendor/tabs.js" %}?v={{ js_cache }}"></script>
|
||||||
|
<script src="{% static "js/autocomplete.js" %}?v={{ js_cache }}"></script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{% extends 'layout.html' %}
|
{% extends 'layout.html' %}
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
{% load static %}
|
||||||
|
|
||||||
{% block title %}
|
{% block title %}
|
||||||
{% trans "File Links" %}
|
{% trans "File Links" %}
|
||||||
|
@ -8,3 +9,7 @@
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{% include "book/file_links/add_link_modal.html" with book=book active=True static=True id="file-link" %}
|
{% include "book/file_links/add_link_modal.html" with book=book active=True static=True id="file-link" %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block scripts %}
|
||||||
|
<script src="{% static "js/autocomplete.js" %}?v={{ js_cache }}"></script>
|
||||||
|
{% endblock %}
|
||||||
|
|
|
@ -264,7 +264,6 @@
|
||||||
<script src="{% static "js/bookwyrm.js" %}?v={{ js_cache }}"></script>
|
<script src="{% static "js/bookwyrm.js" %}?v={{ js_cache }}"></script>
|
||||||
<script src="{% static "js/localstorage.js" %}?v={{ js_cache }}"></script>
|
<script src="{% static "js/localstorage.js" %}?v={{ js_cache }}"></script>
|
||||||
<script src="{% static "js/status_cache.js" %}?v={{ js_cache }}"></script>
|
<script src="{% static "js/status_cache.js" %}?v={{ js_cache }}"></script>
|
||||||
<script src="{% static "js/autocomplete.js" %}?v={{ js_cache }}"></script>
|
|
||||||
|
|
||||||
{% block scripts %}{% endblock %}
|
{% block scripts %}{% endblock %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue