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

<h3 id="your_courses" class="sr-only">Your Courses</h3>
<div aria-labeledby="your_courses">

    {{#each sections}}
    <div class="card" style="position:relative;"  data-name="CourseCard" data-type="card" data-identifier="{{ curriculum_abbr }} {{course_number}} {{section_id}}">
    
    <div class=" c{{color_id}}Border" style="position:absolute; top:0; left:0; right:0;">&nbsp;</div>
    
    <div class="fade-in">
    
        <div id="course_wrapper{{index}}" class="OFF" style="position:relative;">
                
            <h4><span class="courseIDtitle">{{ curriculum_abbr }} {{course_number}} {{section_id}}</span>
            <span class="shortTitle" style="display:block;">{{ course_title }}</span></h4>
            
            <h5 class="scheduleHeading">{{ucfirst meetings.0.type}} Schedule</h5>
            
            {{ #if canvas_grade }}
            <div class="canvasGradeBox" style="position: absolute; width: 100px; top: -3px; right:0;">
                <span class="canvasGrade" style="font-size: 22px;">{{ canvas_grade }}%</span>
                <span class="canvasGradeLabel" style="font-size: 12px; cursor: pointer; display:block; margin-top:-3px;" title="See note">Canvas Grade*</span>
            </div>
            {{ /if }}
            
            <table class="table table-condensed">
               
               <thead class="sr-only">
                   <tr>
                        <th>Day(s)</th>
                        <th>Time</th>
                        <th>Location</th>
                   </tr>
               </thead>
                
                <tbody>
                    {{#each meetings}} 
                    <tr>
                        {{#if days_tbd }}
                        <td colspan="2" class="text-muted" style="font-size:12px;">Days and times to<br/> be arranged</td>
                        {{else}}
                        <td>
                            {{#if meeting_days.monday}}<abbr title="Monday">M</abbr>{{/if}}{{#if
                            meeting_days.tuesday}}<abbr title="Tuesday">T</abbr>{{/if}}{{#if
                            meeting_days.wednesday}}<abbr title="Wednesday">W</abbr>{{/if}}{{#if
                            meeting_days.thursday}}<abbr title="Thursday">Th</abbr>{{/if}}{{#if
                            meeting_days.friday}}<abbr title="Friday">F</abbr>{{/if}}{{#if
                            meeting_days.saturday}}<abbr title="Saturday">Sa</abbr>{{/if}}{{#if
                            meeting_days.sunday}}<abbr title="Sunday">Su</abbr>{{/if}}
                        </td>
                        <td>{{formatTime start_time}} - {{formatTimeAMPM end_time}}</td>
                        {{/if}}
                        {{#if building_tbd}}
                        <td style="width:100px; font-size:12px;" class="text-muted">Room to be arranged</td>
                        {{else}}
                        <td style="width:100px;">
                            {{#if latitude}}
                            <a href="http://maps.google.com/maps?q={{ latitude }},{{ longitude }}+({{encodeForMaps building_name }})&z=18" class="show_map" rel="{{building_name}}">
                            {{/if}}
                            {{building}} {{room}}
                            {{#if latitude}}</a>{{/if}}
                        </td>
                        {{/if}}
                    </tr>
                    {{/each}}
                </tbody>
                
            </table>
            
            <div id="course{{index}}" class="slide-hide" rel="{{ curriculum_abbr }} {{course_number}} {{section_id}}" aria-hidden="true">
                
                <div>
                    <h5>Course resources</h5>     
                    <ul class="unstyled-list">
                        {{#if has_resources }}
                            {{#if class_website_url}}
                            <li><a href="{{class_website_url}}" class="course_website" rel="{{ curriculum_abbr }} {{course_number}} {{section_id}}">Course Website</a></li>
                            {{/if}}    
                            {{#if lib_subj_guide}}
                            <li><a href="{{lib_subj_guide}}" class="lib_subject_guide" rel="{{ curriculum_abbr }} {{sln}} {{../quarter}} {{../year}}">Subject Guides</a></li>
                            {{/if}}
                            {{#if canvas_url}}
                            <li><a href="{{canvas_url}}" class="course_canvas_site" rel="{{ curriculum_abbr }} {{course_number}} {{section_id}}">Course Canvas</a></li>
                            {{/if}} 
                        {{/if}}
                        <li><a class="show_course_textbook" href="/mobile/textbooks/{{../year}},{{../quarter}}{{#if ../summer_term}},{{toLowerCase ../summer_term}}{{/if}}/{{curriculum_abbr}}{{course_number}}{{section_id}}">Textbooks</a></li>
                    </ul>
                </div>

                {{#if instructors}}
                <div class="instructors">
                    <h5>Instructors</h5>
                    <ol>
                        {{#each instructors}}
                        <li class="instructor-container">
                            
                            <div class="contact-info-container">
                                <div><strong>{{full_name}}</strong></div>
                                <commit_msg>Revert the last "Revert "updates link text for subject guides""<commit_after>{% load templatetag_handlebars %}
    {% tplhandlebars "course_card_content" %}

<h3 id="your_courses" class="sr-only">Your Courses</h3>
<div aria-labeledby="your_courses">

    {{#each sections}}
    <div class="card" style="position:relative;"  data-name="CourseCard" data-type="card" data-identifier="{{ curriculum_abbr }} {{course_number}} {{section_id}}">
    
    <div class=" c{{color_id}}Border" style="position:absolute; top:0; left:0; right:0;">&nbsp;</div>
    
    <div class="fade-in">
    
        <div id="course_wrapper{{index}}" class="OFF" style="position:relative;">
                
            <h4><span class="courseIDtitle">{{ curriculum_abbr }} {{course_number}} {{section_id}}</span>
            <span class="shortTitle" style="display:block;">{{ course_title }}</span></h4>
            
            <h5 class="scheduleHeading">{{ucfirst meetings.0.type}} Schedule</h5>
            
            {{ #if canvas_grade }}
            <div class="canvasGradeBox" style="position: absolute; width: 100px; top: -3px; right:0;">
                <span class="canvasGrade" style="font-size: 22px;">{{ canvas_grade }}%</span>
                <span class="canvasGradeLabel" style="font-size: 12px; cursor: pointer; display:block; margin-top:-3px;" title="See note">Canvas Grade*</span>
            </div>
            {{ /if }}
            
            <table class="table table-condensed">
               
               <thead class="sr-only">
                   <tr>
                        <th>Day(s)</th>
                        <th>Time</th>
                        <th>Location</th>
                   </tr>
               </thead>
                
                <tbody>
                    {{#each meetings}} 
                    <tr>
                        {{#if days_tbd }}
                        <td colspan="2" class="text-muted" style="font-size:12px;">Days and times to<br/> be arranged</td>
                        {{else}}
                        <td>
                            {{#if meeting_days.monday}}<abbr title="Monday">M</abbr>{{/if}}{{#if
                            meeting_days.tuesday}}<abbr title="Tuesday">T</abbr>{{/if}}{{#if
                            meeting_days.wednesday}}<abbr title="Wednesday">W</abbr>{{/if}}{{#if
                            meeting_days.thursday}}<abbr title="Thursday">Th</abbr>{{/if}}{{#if
                            meeting_days.friday}}<abbr title="Friday">F</abbr>{{/if}}{{#if
                            meeting_days.saturday}}<abbr title="Saturday">Sa</abbr>{{/if}}{{#if
                            meeting_days.sunday}}<abbr title="Sunday">Su</abbr>{{/if}}
                        </td>
                        <td>{{formatTime start_time}} - {{formatTimeAMPM end_time}}</td>
                        {{/if}}
                        {{#if building_tbd}}
                        <td style="width:100px; font-size:12px;" class="text-muted">Room to be arranged</td>
                        {{else}}
                        <td style="width:100px;">
                            {{#if latitude}}
                            <a href="http://maps.google.com/maps?q={{ latitude }},{{ longitude }}+({{encodeForMaps building_name }})&z=18" class="show_map" rel="{{building_name}}">
                            {{/if}}
                            {{building}} {{room}}
                            {{#if latitude}}</a>{{/if}}
                        </td>
                        {{/if}}
                    </tr>
                    {{/each}}
                </tbody>
                
            </table>
            
            <div id="course{{index}}" class="slide-hide" rel="{{ curriculum_abbr }} {{course_number}} {{section_id}}" aria-hidden="true">
                
                <div>
                    <h5>Course resources</h5>     
                    <ul class="unstyled-list">
                        {{#if has_resources }}
                            {{#if class_website_url}}
                            <li><a href="{{class_website_url}}" class="course_website" rel="{{ curriculum_abbr }} {{course_number}} {{section_id}}">Course Website</a></li>
                            {{/if}}    
                            {{#if lib_subj_guide}}
                            <li><a href="{{lib_subj_guide}}" class="lib_subject_guide" rel="{{ curriculum_abbr }} {{sln}} {{../quarter}} {{../year}}">Library Subject Guides</a></li>
                            {{/if}}
                            {{#if canvas_url}}
                            <li><a href="{{canvas_url}}" class="course_canvas_site" rel="{{ curriculum_abbr }} {{course_number}} {{section_id}}">Course Canvas</a></li>
                            {{/if}} 
                        {{/if}}
                        <li><a class="show_course_textbook" href="/mobile/textbooks/{{../year}},{{../quarter}}{{#if ../summer_term}},{{toLowerCase ../summer_term}}{{/if}}/{{curriculum_abbr}}{{course_number}}{{section_id}}">Textbooks</a></li>
                    </ul>
                </div>

                {{#if instructors}}
                <div class="instructors">
                    <h5>Instructors</h5>
                    <ol>
                        {{#each instructors}}
                        <li class="instructor-container">
                            
                            <div class="contact-info-container">
                                <div><strong>{{full_name}}</strong></div>
                                
{'fraction_non_alphanumeric': 0.16920289855072465, 'fraction_numerical': 0.0067028985507246374, 'mean_word_length': 1.4207410655557993, 'pattern_counts': {'":': 0, '<': 199, '<?xml version=': 0, '>': 199, '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': '4041373', 'n_tokens_mistral': 3150, 'n_tokens_neox': 2916, 'n_words': 474}