diff --git a/helpdesk/admin.py b/helpdesk/admin.py index 301a9c43..9d18007e 100644 --- a/helpdesk/admin.py +++ b/helpdesk/admin.py @@ -95,7 +95,7 @@ class IgnoreEmailAdmin(admin.ModelAdmin): @admin.register(KBCategory) class KBCategoryAdmin(admin.ModelAdmin): - list_display = ('name', 'title', 'slug', ) + list_display = ('name', 'title', 'slug', 'public') admin.site.register(PreSetReply) diff --git a/helpdesk/templates/helpdesk/base_js.html b/helpdesk/templates/helpdesk/base_js.html index b337fd36..d7bcdecc 100644 --- a/helpdesk/templates/helpdesk/base_js.html +++ b/helpdesk/templates/helpdesk/base_js.html @@ -27,3 +27,6 @@ + +{% block js_bottom %} +{% endblock %} diff --git a/helpdesk/templates/helpdesk/kb_category_base.html b/helpdesk/templates/helpdesk/kb_category_base.html index 418e35c3..8eb8dd20 100644 --- a/helpdesk/templates/helpdesk/kb_category_base.html +++ b/helpdesk/templates/helpdesk/kb_category_base.html @@ -19,7 +19,9 @@ {% block card_body %}

{{ item.question }}

- {{ item.get_markdown }} +
+ {{ item.get_markdown }} +
{% if request.user.pk %}