<commit_before><template>
  <uw-card
    :id="idForSection(section)"
    v-meta="{term: term, course: section.anchor}"
    loaded
    :ribbon="{
      side: 'top',
      colorId: section.color_id,
    }"
  >
    <template #card-heading>
      <uw-course-header :section="section" />
      <uw-joint-section :section="section" :parent-id="idForSection(section)" />
    </template>

    <template #card-body>
      <uw-meeting-info show-row-heading :section="section" />
      <uw-final-exam show-row-heading :section="section" />
      <uw-class-list show-row-heading :section="section" />
      <uw-stats show-row-heading :section="section" />
      <uw-materials show-row-heading :section="section"/>
      <uw-grading v-if="section.for_credit" show-row-heading :section="section"/>
      <uw-evaluation show-row-heading :section="section"/>
    </template>
    <template v-if="linkedSections.length > 0" #card-disclosure>
      <b-collapse
        :id="`secondary-${section.section_label}`"
        v-model="isOpen"
      >
        <uw-linked-section
          v-for="(linkedSection, i) in linkedSections"
          :key="`secondary-${section.section_label}-${i}`"
          :section="linkedSection"
        />
      </b-collapse>
    </template>
    <template v-if="linkedSections.length > 0" #card-footer>
      <b-button
        v-b-toggle="`secondary-${section.section_label}`"
        variant="link"
        size="sm"
        class="w-100 p-0 border-0 text-dark"
      >
        Secondary Sections ({{linkedSections.length}})
        <font-awesome-icon v-if="!isOpen"  :icon="faChevronDown" />
        <font-awesome-icon v-else :icon="faChevronUp" />
      </b-button>
    </template>
  </uw-card>
</template>

<script>
import {
  faThumbtack,
  faChevronUp,
  faChevronDown,
} from '@fortawesome/free-solid-svg-icons';

import Card from '../../_templates/card.vue';
import CourseHeader from '../../_common/course/inst/header.vue';
import MeetingInfo from '../../_common/course/meeting/schedule.vue';
import JointSection from './joint-section.vue';
import FinalExam from './final-exam.vue';
import ClassList from './classlist.vue';
import Stats from './stats.vue';
import Materials from './materials.vue';
import Grading from './grading.vue';
import Evaluation from './evaluation.vue';
import LinkedSection from '../../_common/course/inst/linked-section.vue';
<commit_msg>Make linked-section botton text accessible<commit_after><template>
  <uw-card
    :id="idForSection(section)"
    v-meta="{term: term, course: section.anchor}"
    loaded
    :ribbon="{
      side: 'top',
      colorId: section.color_id,
    }"
  >
    <template #card-heading>
      <uw-course-header :section="section" />
      <uw-joint-section :section="section" :parent-id="idForSection(section)" />
    </template>

    <template #card-body>
      <uw-meeting-info show-row-heading :section="section" />
      <uw-final-exam show-row-heading :section="section" />
      <uw-class-list show-row-heading :section="section" />
      <uw-stats show-row-heading :section="section" />
      <uw-materials show-row-heading :section="section"/>
      <uw-grading v-if="section.for_credit" show-row-heading :section="section"/>
      <uw-evaluation show-row-heading :section="section"/>
    </template>
    <template v-if="linkedSections.length > 0" #card-disclosure>
      <b-collapse
        :id="`secondary-${section.section_label}`"
        v-model="isOpen"
      >
        <uw-linked-section
          v-for="(linkedSection, i) in linkedSections"
          :key="`secondary-${section.section_label}-${i}`"
          :section="linkedSection"
        />
      </b-collapse>
    </template>
    <template v-if="linkedSections.length > 0" #card-footer>
      <b-button
        v-b-toggle="`secondary-${section.section_label}`"
        variant="link"
        size="sm"
        class="w-100 p-0 border-0 text-dark"
      >
        Linked Sections of {{ section.curriculum_abbr }}
        {{ section.course_number }} {{ section.section_id }}
        <font-awesome-icon v-if="!isOpen"  :icon="faChevronDown" />
        <font-awesome-icon v-else :icon="faChevronUp" />
      </b-button>
    </template>
  </uw-card>
</template>

<script>
import {
  faThumbtack,
  faChevronUp,
  faChevronDown,
} from '@fortawesome/free-solid-svg-icons';

import Card from '../../_templates/card.vue';
import CourseHeader from '../../_common/course/inst/header.vue';
import MeetingInfo from '../../_common/course/meeting/schedule.vue';
import JointSection from './joint-section.vue';
import FinalExam from './final-exam.vue';
import ClassList from './classlist.vue';
import Stats from './stats.vue';
import Materials from './materials.vue';
import Grading from './grading.vue';
import Evaluation from './evaluation.vue';
import LinkedSection from '../../_common/course/inst/linked-section.vue';

{'fraction_non_alphanumeric': 0.17216494845360825, 'fraction_numerical': 0.00288659793814433, 'mean_word_length': 2.9535452322738385, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 0, '>': 65, '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': '3313970', 'n_tokens_mistral': 1573, 'n_tokens_neox': 1554, 'n_words': 283}