<commit_before><template>
  <div v-if="courses">
    <div class="d-flex align-items-center mb-2">
      <h4 class="h6 text-dark flex-fill">
        In MyPlan
      </h4>
      <div class="flex-fill text-right">
        <ul class="list-unstyled m-0">
          <li class="font-weight-bold">
            {{ readyCount }}
            {{ readyCount > 1 ? "courses" : "course" }}
            ready
          </li>
          <li v-if="unreadyCount" class="myuw-text-sm">
            {{ unreadyCount }} not ready
            <a v-if="!hasSections" target="_blank" :href="myplanHref">
              Add Sections
            </a>
            <b-button
              v-else
              v-b-toggle="`${summerCardLabel}inMyPlanUnready-collapse-${_uid}`"
              :title="buttonTitle"
              size="sm"
              variant="link"
              class="p-0 border-0 bg-transparent align-baseline"
            >
              {{ collapseOpen ? "Hide Details" : "See Details" }}
            </b-button>
          </li>
        </ul>
      </div>
    </div>
    <b-collapse
      :id="`${summerCardLabel}inMyPlanUnready-collapse-${_uid}`"
      v-model="collapseOpen"
    >
      <div class="bg-light m-0 p-3 border-0 rounded-0">
        <h5 class="h6 font-weight-bold">
          Not ready for registration
        </h5>
        <ul class="myuw-text-sm">
          <li v-for="(course, i) in coursesUnavailable" :key="i">
            {{ course.curriculum_abbr }} {{ course.course_number }}
          </li>
        </ul>

        <div class="myuw-text-sm">
          <p>
            One or more of the issues below will prevent these courses from
            being sent to registration:
          </p>
          <ul>
            <li>Too many/too few sections selected for a course</li>
            <li>Time conflict with registered course</li>
            <li>Time conflict with a selected section</li>
            <li>Planned courses are jointly offered versions of one course</li>
          </ul>
        </div>
        <div class="text-right myuw-text-md"><commit_msg>Update myplan related button and link styles.<commit_after><template>
  <div v-if="courses" class="mb-4">
    <div class="d-flex align-items-center mb-2">
      <h4 class="h6 text-dark flex-fill">
        In MyPlan
      </h4>
      <div class="flex-fill text-right">
        <ul class="list-unstyled m-0">
          <li class="font-weight-bold">
            {{ readyCount }}
            {{ readyCount > 1 ? "courses" : "course" }}
            ready
          </li>
          <li v-if="unreadyCount" class="myuw-text-sm">
            {{ unreadyCount }} not ready
            <a v-if="!hasSections" target="_blank" :href="myplanHref">
              Add Sections
            </a>
            <b-button
              v-else
              v-b-toggle="`${summerCardLabel}inMyPlanUnready-collapse-${_uid}`"
              :title="buttonTitle"
              size="sm"
              variant="link"
              class="p-0 border-0 bg-transparent align-baseline"
            >
              {{ collapseOpen ? "Hide Details" : "See Details" }}
            </b-button>
          </li>
        </ul>
      </div>
    </div>
    <b-collapse
      :id="`${summerCardLabel}inMyPlanUnready-collapse-${_uid}`"
      v-model="collapseOpen"
    >
      <div class="bg-light m-0 p-3 border-0 rounded-0">
        <h5 class="h6 font-weight-bold">
          Not ready for registration
        </h5>
        <ul class="myuw-text-sm">
          <li v-for="(course, i) in coursesUnavailable" :key="i">
            {{ course.curriculum_abbr }} {{ course.course_number }}
          </li>
        </ul>

        <div class="myuw-text-sm">
          <p>
            One or more of the issues below will prevent these courses from
            being sent to registration:
          </p>
          <ul>
            <li>Too many/too few sections selected for a course</li>
            <li>Time conflict with registered course</li>
            <li>Time conflict with a selected section</li>
            <li>Planned courses are jointly offered versions of one course</li>
          </ul>
        </div>
        <div class="text-right myuw-text-sm">
{'fraction_non_alphanumeric': 0.1399856424982053, 'fraction_numerical': 0.007418042593921991, 'mean_word_length': 1.6422250316055627, 'pattern_counts': {'":': 0, '<': 85, '<?xml version=': 0, '>': 87, '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': '3139937', 'n_tokens_mistral': 1259, 'n_tokens_neox': 1250, 'n_words': 296}