<commit_before>{% load templatetag_handlebars %}
    {% tplhandlebars "course_eval_panel" %}

<h5 class="scheduleHeading">Course Evaluations</h5>

{{#each evals}}
    <div>
        {{#if is_multi_instr}}
            <p><span class="myuw-eval-close-date">Evaluations close
            {{toFriendlyDate close_date}}</span> (at 11:59PM), and only take a few minutes to complete.</p>

            <a class="myuw-eval-multi-link" href="{{ url }}" target="_blank"><span class="myuw-eval-name">{{../curriculum_abbr}} {{../course_number}} {{../section_id}} Evaluation</span></a>

            <ul class="myuw-eval-multi-list">
                {{#each instructors}}
                    <li class="myuw-eval-multi-list-item">
                        <span class="myuw-eval-name">{{titleCaseName instructor_name}}</span>
                            {{#if instructor_title}}
                        <div class="myuw-eval-title">{{instructor_title}}</div>
                        {{/if}}
                    </li>
                {{/each}}
            </ul>
        {{else}}

            <p><span class="myuw-eval-close-date">Evaluation closes
            {{toFriendlyDate close_date}}</span> (at 11:59PM), and only takes a few minutes to complete.</p>

            <ul class="myuw-eval-list">
                {{#each instructors}}
                    <li class="myuw-eval-list-item">
                        <a class="myuw-eval-link" href="{{ ../url }}" target="_blank"><span class="myuw-eval-name"><span class="myuw-eval-name">{{titleCaseName instructor_name}}</span></a>
                        {{#if instructor_title}}
                            <div class="myuw-eval-title">{{instructor_title}}</div>
                        {{/if}}
                    </li>
                {{/each}}
            </ul>
        {{/if}}

    </div>
    {{/each}}

{% endtplhandlebars %}<commit_msg>Add Course eval inline error message<commit_after>{% load templatetag_handlebars %}
    {% tplhandlebars "course_eval_panel" %}

<h5 class="scheduleHeading">Course Evaluations</h5>

{{#each evals}}
    <div>
        {{#if is_multi_instr}}
            <p><span class="myuw-eval-close-date">Evaluations close
            {{toFriendlyDate close_date}}</span> (at 11:59PM), and only take a few minutes to complete.</p>

            <a class="myuw-eval-multi-link" href="{{ url }}" target="_blank"><span class="myuw-eval-name">{{../curriculum_abbr}} {{../course_number}} {{../section_id}} Evaluation</span></a>

            <ul class="myuw-eval-multi-list">
                {{#each instructors}}
                    <li class="myuw-eval-multi-list-item">
                        <span class="myuw-eval-name">{{titleCaseName instructor_name}}</span>
                            {{#if instructor_title}}
                        <div class="myuw-eval-title">{{instructor_title}}</div>
                        {{/if}}
                    </li>
                {{/each}}
            </ul>
        {{else}}

            <p><span class="myuw-eval-close-date">Evaluation closes
            {{toFriendlyDate close_date}}</span> (at 11:59PM), and only takes a few minutes to complete.</p>

            <ul class="myuw-eval-list">
                {{#each instructors}}
                    <li class="myuw-eval-list-item">
                        <a class="myuw-eval-link" href="{{ ../url }}" target="_blank"><span class="myuw-eval-name"><span class="myuw-eval-name">{{titleCaseName instructor_name}}</span></a>
                        {{#if instructor_title}}
                            <div class="myuw-eval-title">{{instructor_title}}</div>
                        {{/if}}
                    </li>
                {{/each}}
            </ul>
        {{/if}}

    </div>
    {{/each}}
<!-- WIP: IA system Error case -->
    <p><p class="text-danger"><i class="fa fa-exclamation-triangle" aria-hidden="true"></i> An error has occurred and MyUW cannot display the course evaluation information right now. Please try again later. </p>
{% endtplhandlebars %}
{'fraction_non_alphanumeric': 0.17119362073261898, 'fraction_numerical': 0.0049838026414154, 'mean_word_length': 1.8671428571428572, 'pattern_counts': {'":': 0, '<': 79, '<?xml version=': 0, '>': 79, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2399681', 'n_tokens_mistral': 1209, 'n_tokens_neox': 1123, 'n_words': 227}