mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-28 19:03:14 +01:00
Rename categories to kb_categories
This commit is contained in:
parent
000f53ad4c
commit
37de73b2a2
@ -9,7 +9,7 @@
|
||||
<tr class='row_tablehead'><td>{% trans "Knowledgebase Categories" %}</td></tr>
|
||||
<tr class='row_columnheads'><th>{% trans "Category" %}</th></tr>
|
||||
|
||||
{% for category in categories %}
|
||||
{% for category in kb_categories %}
|
||||
<tr class='row_even row_hover'><th><a href='{{ category.get_absolute_url }}'>{{ category.title }}</a></th></tr>
|
||||
<tr class='row_odd'><td>{{ category.description }}</td></tr>
|
||||
{% endfor %}
|
||||
|
@ -23,7 +23,7 @@ def index(request):
|
||||
# TODO: It'd be great to have a list of most popular items here.
|
||||
return render_to_response('helpdesk/kb_index.html',
|
||||
RequestContext(request, {
|
||||
'categories': category_list,
|
||||
'kb_categories': category_list,
|
||||
}))
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user