updates
This commit is contained in:
@@ -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>)
|
||||
|
||||
Reference in New Issue
Block a user