diff --git a/lms/templates/discussion/_underscore_templates.html b/lms/templates/discussion/_underscore_templates.html
index 21a881908f..24e3b467be 100644
--- a/lms/templates/discussion/_underscore_templates.html
+++ b/lms/templates/discussion/_underscore_templates.html
@@ -45,17 +45,11 @@
${'<%- body %>'}
-
- % if course and has_permission(user, 'openclose_thread', course.id) and False:
+ % if course and has_permission(user, 'openclose_thread', course.id):
Pin Thread
-
- %elif False:
+ %else:
${"<% if (pinned) { %>"}
Pin Thread
@@ -63,9 +57,6 @@
% endif
-
-
-
${'<% if (obj.courseware_url) { %>'}