<commit_before>@if (!Updater::isLatest())
{{--*/ $updatesList = Updater::getUpdatesList(); /*--}}
<li class="dropdown notifications-menu">
  <!-- Menu toggle button -->
  <a href="#" class="dropdown-toggle" data-toggle="dropdown">
    <i class="fa fa-refresh"></i>
      <span class="label label-danger">{{ !empty($updatesList['core']) + !empty($updatesList['theme']) + !empty($updatesList['module']) + !empty($updatesList['widget']) }}</span>
  </a>
  <ul class="dropdown-menu">
    <li class="header"><b>{!! trans('backend.update.updates_list') !!}</b></li>
    <li>
      <!-- Inner Menu: contains the notifications -->
      <ul class="menu">
        @foreach ($updatesList as $type => $list)
          @if ($type == "core" && !empty($list))
          <li class="new">
            <a href="{{ route('zxadmin.update.index', ['core']) }}">
              <i class="fa fa-heart text-red"></i> {!! trans('backend.update.update_available', ['package' => 'ZEDx', 'version' => Updater::getLatest()->version]) !!}</small>
              <br>
              <small class="time"><i class="fa fa-clock-o"></i> {{ Carbon\Carbon::parse(Updater::getLatest()->date)->diffForHumans() }}</small>
            </a>
          </li>
          @elseif (!empty($list))
          <li class="new">
            <a href="{{ route('zxadmin.update.index', [$type]) }}">
              <i class="fa fa-heart text-red"></i> {{ count($list) }} {{ $type }} à mettre à jour</small>
              <br>
              <small class="time"><i class="fa fa-clock-o"></i> {{ Carbon\Carbon::parse(head($list)['date'])->diffForHumans() }}</small>
            </a>
          </li>
          @endif
        @endforeach
      </ul>
    </li>
  </ul>
</li>
@endif
<commit_msg>get core update date attribute<commit_after>@if (!Updater::isLatest())
{{--*/ $updatesList = Updater::getUpdatesList(); /*--}}
<li class="dropdown notifications-menu">
  <!-- Menu toggle button -->
  <a href="#" class="dropdown-toggle" data-toggle="dropdown">
    <i class="fa fa-refresh"></i>
      <span class="label label-danger">{{ !empty($updatesList['core']) + !empty($updatesList['theme']) + !empty($updatesList['module']) + !empty($updatesList['widget']) }}</span>
  </a>
  <ul class="dropdown-menu">
    <li class="header"><b>{!! trans('backend.update.updates_list') !!}</b></li>
    <li>
      <!-- Inner Menu: contains the notifications -->
      <ul class="menu">
        @foreach ($updatesList as $type => $list)
          @if ($type == "core" && !empty($list))
          <li class="new">
            <a href="{{ route('zxadmin.update.index', ['core']) }}">
              <i class="fa fa-heart text-red"></i> {!! trans('backend.update.update_available', ['package' => 'ZEDx', 'version' => Updater::getLatest()->version]) !!}</small>
              <br>
              <small class="time"><i class="fa fa-clock-o"></i> {{ Carbon\Carbon::parse(head($list)['date'])->diffForHumans() }}</small>
            </a>
          </li>
          @elseif (!empty($list))
          <li class="new">
            <a href="{{ route('zxadmin.update.index', [$type]) }}">
              <i class="fa fa-heart text-red"></i> {{ count($list) }} {{ $type }} à mettre à jour</small>
              <br>
              <small class="time"><i class="fa fa-clock-o"></i> {{ Carbon\Carbon::parse(head($list)['date'])->diffForHumans() }}</small>
            </a>
          </li>
          @endif
        @endforeach
      </ul>
    </li>
  </ul>
</li>
@endif

{'fraction_non_alphanumeric': 0.24077277970011535, 'fraction_numerical': 0.0, 'mean_word_length': 2.7301075268817203, 'pattern_counts': {'":': 0, '<': 91, '<?xml version=': 0, '>': 104, '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': '4660472', 'n_tokens_mistral': 1114, 'n_tokens_neox': 1106, 'n_words': 220}