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']), diff --git a/lms/templates/discussion/_thread.html b/lms/templates/discussion/_thread.html index 4fbe3d899a..eb2d4f3468 100644 --- a/lms/templates/discussion/_thread.html +++ b/lms/templates/discussion/_thread.html @@ -89,12 +89,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):