<%page expression_filter="h"/>
<%include file="_underscore_templates.html" />
<%!
from django.utils.translation import ugettext as _
%>

<div class="discussion-module" data-discussion-id="${discussion_id}" data-user-create-comment="${can_create_comment}" data-user-create-subcomment="${can_create_subcomment}" data-read-only="false">
    <a class="discussion-show control-button" href="javascript:void(0)" data-discussion-id="${discussion_id}" role="button">
        <span class="show-hide-discussion-icon"></span><span class="button-text">${_("Show Discussion")}</span>
    </a>
    % if can_create_thread:
        <button class="new-post-btn btn-neutral btn-small">${_("Add a Post")}</button>
    % endif
</div>
