<%! from django.utils.translation import ugettext as _ %>
<%! from django_comment_client.permissions import has_permission %>
<%inherit file="../courseware/course_navigation.html" />

<%block name="extratabs">
% if has_permission(user, 'create_thread', course.id):
    <li class="right"><a href="#" class="new-post-btn"><span class="icon icon-edit new-post-icon"></span>${_("New Post")}</a></li>
% endif
</%block>
