diff --git a/lms/templates/discussion/thread.html b/lms/templates/discussion/thread.html index 41b6d086e2..1f44af9d18 100644 --- a/lms/templates/discussion/thread.html +++ b/lms/templates/discussion/thread.html @@ -4,70 +4,78 @@ <%! import urllib %> <%def name="render_thread(course_id, thread, edit_thread=False, show_comments=False)"> - <% - if show_comments: - url_for_thread = "" - else: - thread_id = thread['id'] - url_for_thread = reverse('django_comment_client.forum.views.single_thread', args=[course_id, thread_id]) - def url_for_tags(tags): - return reverse('django_comment_client.forum.views.search', args=[course_id]) + '?' + urllib.urlencode({'tags': ",".join(tags)}) - %> +