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):