fixed bug caused by rearranging stuff
This commit is contained in:
@@ -47,10 +47,10 @@
|
||||
if kwargs.get('show_comments', False):
|
||||
url_for_thread = ""
|
||||
else:
|
||||
url_for_thread = reverse('django_comment_client.forum.views.single_thread', args=[course_id, thread['id']])
|
||||
url_for_thread = reverse('django_comment_client.forum.views.single_thread', args=[course_id, content['id']])
|
||||
%>
|
||||
% if type == "thread":
|
||||
<a class="thread-title" name="${content['id']}" href="${kwargs['url_for_thread']}">${content['title'] | h}</a>
|
||||
<a class="thread-title" name="${content['id']}" href="${url_for_thread}">${content['title'] | h}</a>
|
||||
% endif
|
||||
</%def>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user