Move modify.js + ban.js => restricted.js
Further in on restricted JS to simplify things. Rather than breaking out all Javascript stuff into their own granular files, this just includes all admin actions together in the same file. Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
<script src="{% static 'board/jquery.js' %}"></script>
|
||||
<script src="{% static 'board/jsframe.min.js' %}"></script>
|
||||
<script src="{% static 'board/post.js' %}"></script>
|
||||
<script src="{% static 'board/ban.js' %}"></script>
|
||||
<script src="{% static 'board/restricted.js' %}"></script>
|
||||
{% endblock extrahead %}
|
||||
|
||||
{% block footer %}
|
||||
|
||||
@@ -13,8 +13,7 @@
|
||||
<script src="{% static 'board/jsframe.min.js' %}"></script>
|
||||
<script src="{% static 'board/post.js' %}"></script>
|
||||
{% if user.is_staff %}
|
||||
<script src="{% static 'board/ban.js' %}"></script>
|
||||
<script src="{% static 'board/modify.js' %}"></script>
|
||||
<script src="{% static 'board/restricted.js' %}"></script>
|
||||
{% endif %}
|
||||
{% block extrajs %}{% endblock %}
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user