<commit_before>{% load i18n %}
{% load is_assistant_or_coordinator %}
{% load is_course_coordinator %}
<header class="main-header">
    <div class="container-fluid">
        <div class="row">
            <div class="col-md-8">
                <h2 class="course-name">{{ course.name }}</h2>
                {% include "_course-details-inline.html" with course=course %}

                {% block lesson_headder %}
                  {% if lesson %}
                    {% include '_lesson_header.html' %}
                  {% endif %}
                {% endblock %}
            </div>
            {% if course.first_lesson.slug %}
            <div class="col-md-4">
                <!-- COURSE-SECTION-NAV -->
                <nav class="course-sections">
                    <a href="{% url 'course_intro' course.slug %}" class="intro {% if '/intro/' in request.path %}active{% endif %}">{% trans 'Home' %}</a>
                    <a href="{% url 'resume_course' course.slug %}" class="resume {% if '/lesson/' in request.path %}active{% endif %}">{% trans 'Resume course' %}</a>
                    <a href="{% url 'user_course_notes' course.slug %}" class="notes {% if '/mynotes/' in request.path %}active{% endif %}">{%  trans 'Course notes' %}</a>
                    <a href="{% url 'course_material' course.slug %}" class="materials {% if '/material/' in request.path %}active{% endif %}">Menu de referências</a>
                    {% if user|is_assistant_or_coordinator:course %}
                        <div class="dropdown">
                            <a class="tools course-tools dropdown-toggle{% if '/messages/' in request.path or '/reports/' in request.path or '/classes/' in request.path %} active{% endif %}"
                               data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
                                <span class="sr-only">{% trans 'Tools' %}</span>
                            </a>
                            <ul class="dropdown-menu dropdown-menu-right" role="menu" aria-labelledby="course-tools">
                                <li role="presentation"><a role="menuitem" tabindex="-1" href="{% url 'messages' course.slug %}">{% trans 'Messages' %}</a></li>
                                <li role="presentation"><a role="menuitem" tabindex="-1" href="{% url 'reports' course.slug %}">{% trans 'Reports' %}</a></li>
                                <li role="presentation"><a role="menuitem" tabindex="-1" href="{% url 'classes' course.slug %}">{%  trans 'Classes' %}</a></li>
                                {% if user.is_superuser or user|is_course_coordinator:course %}
                                <li role="presentation"><a role="menuitem" tabindex="-1" href="{% url 'administration.edit_course' course.id %}">{%  trans 'Edit course' %}</a></li>
                                <!--<li role="presentation"><a role="menuitem" tabindex="-1" href="{% url 'course-evaluations' course.slug %}">{%  trans 'Evaluations' %}</a></li>-->
                                {% endif %}
                            </ul>
                        </div>
                    {% endif %}
                </nav>
                <!-- END COURSE-SECTION-NAV -->
            </div>
            {% endif %}
        </div>
    </div>
</header><commit_msg>muda rótulos na navegação do curso<commit_after>{% load i18n %}
{% load is_assistant_or_coordinator %}
{% load is_course_coordinator %}
<header class="main-header">
    <div class="container-fluid">
        <div class="row">
            <div class="col-md-8">
                <h2 class="course-name">{{ course.name }}</h2>
                {% include "_course-details-inline.html" with course=course %}

                {% block lesson_headder %}
                  {% if lesson %}
                    {% include '_lesson_header.html' %}
                  {% endif %}
                {% endblock %}
            </div>
            {% if course.first_lesson.slug %}
            <div class="col-md-4">
                <!-- COURSE-SECTION-NAV -->
                <nav class="course-sections">
                    <a href="{% url 'course_intro' course.slug %}" class="intro {% if '/intro/' in request.path %}active{% endif %}">Início do módulo</a>
                    <a href="{% url 'resume_course' course.slug %}" class="resume {% if '/lesson/' in request.path %}active{% endif %}">Continuar módulo</a>
                    <a href="{% url 'user_course_notes' course.slug %}" class="notes {% if '/mynotes/' in request.path %}active{% endif %}">Anotações do módulo</a>
                    <a href="{% url 'course_material' course.slug %}" class="materials {% if '/material/' in request.path %}active{% endif %}">Menu de referências</a>
                    {% if user|is_assistant_or_coordinator:course %}
                        <div class="dropdown">
                            <a class="tools course-tools dropdown-toggle{% if '/messages/' in request.path or '/reports/' in request.path or '/classes/' in request.path %} active{% endif %}"
                               data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
                                <span class="sr-only">{% trans 'Tools' %}</span>
                            </a>
                            <ul class="dropdown-menu dropdown-menu-right" role="menu" aria-labelledby="course-tools">
                                <li role="presentation"><a role="menuitem" tabindex="-1" href="{% url 'messages' course.slug %}">{% trans 'Messages' %}</a></li>
                                <li role="presentation"><a role="menuitem" tabindex="-1" href="{% url 'reports' course.slug %}">{% trans 'Reports' %}</a></li>
                                <li role="presentation"><a role="menuitem" tabindex="-1" href="{% url 'classes' course.slug %}">{%  trans 'Classes' %}</a></li>
                                {% if user.is_superuser or user|is_course_coordinator:course %}
                                <li role="presentation"><a role="menuitem" tabindex="-1" href="{% url 'administration.edit_course' course.id %}">{%  trans 'Edit course' %}</a></li>
                                <!--<li role="presentation"><a role="menuitem" tabindex="-1" href="{% url 'course-evaluations' course.slug %}">{%  trans 'Evaluations' %}</a></li>-->
                                {% endif %}
                            </ul>
                        </div>
                    {% endif %}
                </nav>
                <!-- END COURSE-SECTION-NAV -->
            </div>
            {% endif %}
        </div>
    </div>
</header>
{'fraction_non_alphanumeric': 0.1745598057073467, 'fraction_numerical': 0.003339404978749241, 'mean_word_length': 1.7104072398190044, 'pattern_counts': {'":': 0, '<': 109, '<?xml version=': 0, '>': 109, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4035808', 'n_tokens_mistral': 1980, 'n_tokens_neox': 1770, 'n_words': 419}