Rename categories to kb_categories

This commit is contained in:
Bruno Clermont 2011-02-06 17:51:25 -05:00
parent 000f53ad4c
commit 37de73b2a2
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
<tr class='row_tablehead'><td>{% trans "Knowledgebase Categories" %}</td></tr> <tr class='row_tablehead'><td>{% trans "Knowledgebase Categories" %}</td></tr>
<tr class='row_columnheads'><th>{% trans "Category" %}</th></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_even row_hover'><th><a href='{{ category.get_absolute_url }}'>{{ category.title }}</a></th></tr>
<tr class='row_odd'><td>{{ category.description }}</td></tr> <tr class='row_odd'><td>{{ category.description }}</td></tr>
{% endfor %} {% endfor %}

View File

@ -23,7 +23,7 @@ def index(request):
# TODO: It'd be great to have a list of most popular items here. # TODO: It'd be great to have a list of most popular items here.
return render_to_response('helpdesk/kb_index.html', return render_to_response('helpdesk/kb_index.html',
RequestContext(request, { RequestContext(request, {
'categories': category_list, 'kb_categories': category_list,
})) }))