<commit_before>{{#if showHeader}}
  {{as-calendar/header
    title=title
    model=model
    onNavigate=(action "onNavigate")
    onTypeChange=(action "changeType")}}
{{/if}}

{{#as-calendar/timetable
  model=model
  timeZone=timeZone
  timeZoneOptions=timeZoneOptions
  showTimeZoneSearch=showTimeZoneSearch
  timeSlotHeight=timeSlotHeight
  defaultTimeZoneQuery=defaultTimeZoneQuery
  onNavigateToDay=(action "navigateToDay")
  onSelectTime=(action "addOccurrence")
  onChangeTimeZone=(action "changeTimeZone") as |day timetable|}}
  <ul class="occurrences">
    {{#if model.isMonthView}}
      {{#each day.shortOccurencesList as |occurrence|}}
        <li>
          {{#if hasBlock}}
            {{yield occurrence timetable this}}
          {{else}}
            {{as-calendar/timetable/occurrence
              model=occurrence
              timeSlotHeight=monthTimeSlotHeight
              timetable=timetable
              timeSlotDuration=timeSlotDuration
              isMonthView=true
              isDraggable=false
              isResizable=false
              isEditable=true
              onUpdate=(action this.attrs.onUpdateOccurrence)
              onEdit=(action this.attrs.onEditOccurrence)
              onRemove=(action this.attrs.onRemoveOccurrence)}}
          {{/if}}
        </li>
      {{/each}}
      {{#if day.hasShowMore}}
        <a href {{action 'navigateToDay' day.value bubbles=false}}>+{{day.showMoreCount}} more</a>
      {{/if}}
    {{else}}
      {{#each day.occurrences as |occurrence|}}
        <li>
          {{#if hasBlock}}
            {{yield occurrence timetable this}}
          {{else}}
            {{as-calendar/timetable/occurrence
              model=occurrence
              timeSlotHeight=timeSlotHeight
              timetable=timetable
              timeSlotDuration=timeSlotDuration
              isMonthView=false
              isDraggable=true
              isResizable=true
              isEditable=true
              onUpdate=(action this.attrs.onUpdateOccurrence)
              onEdit=(action this.attrs.onEditOccurrence)
              onRemove=(action this.attrs.onRemoveOccurrence)}}
          {{/if}}
        </li>
      {{/each}}
    {{/if}}<commit_msg>add class to "show more" link<commit_after>{{#if showHeader}}
  {{as-calendar/header
    title=title
    model=model
    onNavigate=(action "onNavigate")
    onTypeChange=(action "changeType")}}
{{/if}}

{{#as-calendar/timetable
  model=model
  timeZone=timeZone
  timeZoneOptions=timeZoneOptions
  showTimeZoneSearch=showTimeZoneSearch
  timeSlotHeight=timeSlotHeight
  defaultTimeZoneQuery=defaultTimeZoneQuery
  onNavigateToDay=(action "navigateToDay")
  onSelectTime=(action "addOccurrence")
  onChangeTimeZone=(action "changeTimeZone") as |day timetable|}}
  <ul class="occurrences">
    {{#if model.isMonthView}}
      {{#each day.shortOccurencesList as |occurrence|}}
        <li>
          {{#if hasBlock}}
            {{yield occurrence timetable this}}
          {{else}}
            {{as-calendar/timetable/occurrence
              model=occurrence
              timeSlotHeight=monthTimeSlotHeight
              timetable=timetable
              timeSlotDuration=timeSlotDuration
              isMonthView=true
              isDraggable=false
              isResizable=false
              isEditable=true
              onUpdate=(action this.attrs.onUpdateOccurrence)
              onEdit=(action this.attrs.onEditOccurrence)
              onRemove=(action this.attrs.onRemoveOccurrence)}}
          {{/if}}
        </li>
      {{/each}}
      {{#if day.hasShowMore}}
        <a class="as-calendar-timetable__day-showmore" href {{action 'navigateToDay' day.value bubbles=false}}>+{{day.showMoreCount}} more</a>
      {{/if}}
    {{else}}
      {{#each day.occurrences as |occurrence|}}
        <li>
          {{#if hasBlock}}
            {{yield occurrence timetable this}}
          {{else}}
            {{as-calendar/timetable/occurrence
              model=occurrence
              timeSlotHeight=timeSlotHeight
              timetable=timetable
              timeSlotDuration=timeSlotDuration
              isMonthView=false
              isDraggable=true
              isResizable=true
              isEditable=true
              onUpdate=(action this.attrs.onUpdateOccurrence)
              onEdit=(action this.attrs.onEditOccurrence)
              onRemove=(action this.attrs.onRemoveOccurrence)}}
          {{/if}}
        </li>
      {{/each}}
    {{/if}}
{'fraction_non_alphanumeric': 0.11007130124777184, 'fraction_numerical': 0.0, 'mean_word_length': 2.2671033478893743, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '3818874', 'n_tokens_mistral': 1299, 'n_tokens_neox': 1247, 'n_words': 209}