Add in-line ban capabilities

Anyone with the ability to create bans can now do so via the drop down
menu on all posts.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2022-06-23 22:27:26 -07:00
parent 1e61522f7a
commit 647aedfc67
4 changed files with 53 additions and 12 deletions

View File

@@ -11,6 +11,9 @@
<script src="{% static 'board/jquery.js' %}"></script>
<script src="{% static 'board/winbox.bundle.js' %}"></script>
<script src="{% static 'board/post.js' %}"></script>
{% if perms.board.create_ban %}
<script src="{% static 'board/ban_menu.js' %}"></script>
{% endif %}
{% block extrajs %}{% endblock %}
</head>
<body>