Commit 0a53ec3e by Your Name

updates

parent 470e4027
......@@ -45,17 +45,11 @@
</header>
<div class="post-body">${'<%- body %>'}</div>
<!--
temporary patch for backward compatibility with comments service
-->
% if course and has_permission(user, 'openclose_thread', course.id) and False:
% if course and has_permission(user, 'openclose_thread', course.id):
<div class="admin-pin discussion-pin notpinned" data-role="thread-pin" data-tooltip="pin this thread">
<i class="icon"></i><span class="pin-label">Pin Thread</span></div>
<!--
secondary patch for backward compatibility with comments service
-->
%elif False:
%else:
${"<% if (pinned) { %>"}
<div class="discussion-pin notpinned" data-role="thread-pin" data-tooltip="pin this thread">
<i class="icon"></i><span class="pin-label">Pin Thread</span></div>
......@@ -63,9 +57,6 @@
% endif
${'<% if (obj.courseware_url) { %>'}
<div class="post-context">
(this post is about <a href="${'<%- courseware_url%>'}">${'<%- courseware_title %>'}</a>)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment