From d9ffca2a31bbc3a2730cad2bd86da64c4e70e11c Mon Sep 17 00:00:00 2001 From: Mike Chen Date: Mon, 6 Aug 2012 18:41:37 -0400 Subject: [PATCH 1/2] vote_for_comment typo --- lms/djangoapps/django_comment_client/permissions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/djangoapps/django_comment_client/permissions.py b/lms/djangoapps/django_comment_client/permissions.py index 7049bf7dbb..9beb2b8dae 100644 --- a/lms/djangoapps/django_comment_client/permissions.py +++ b/lms/djangoapps/django_comment_client/permissions.py @@ -77,7 +77,7 @@ VIEW_PERMISSIONS = { 'openclose_thread' : ('openclose_thread'), 'create_sub_comment': (['create_sub_comment', 'open']), 'delete_comment' : ('delete_comment'), - 'vote_for_commend' : (['vote', 'open']), + 'vote_for_comment' : (['vote', 'open']), 'undo_vote_for_comment': (['unvote', 'open']), 'vote_for_thread' : (['vote', 'open']), 'undo_vote_for_thread': (['unvote', 'open']), From e9c970e3995d0e7abf0bd8bf845af74d323adb40 Mon Sep 17 00:00:00 2001 From: Mike Chen Date: Tue, 7 Aug 2012 18:45:26 -0400 Subject: [PATCH 2/2] revert permanent link for comments --- lms/templates/discussion/_thread.html | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lms/templates/discussion/_thread.html b/lms/templates/discussion/_thread.html index 04b0a39fa6..f4db402ef1 100644 --- a/lms/templates/discussion/_thread.html +++ b/lms/templates/discussion/_thread.html @@ -88,12 +88,9 @@ ${render_link("discussion-link discussion-reply discussion-reply-" + type, "Reply")} ${render_link("discussion-link discussion-edit", "Edit")} - % if type == "thread": + % if type == 'thread': Permanent Link - % else: - Permanent Link % endif - % if content.get('endorsed', False):