<%! 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="new-post-icon"></span>New Post</a></li>
% endif
</%block>