<commit_before><!doctype html>
<html lang="{{ Config::get('app.locale') }}" dir="ltr">

<head>
  <meta charset="UTF-8">
  <title>{{ HTML::entities('EduCal') }}</title>
  <!-- Google Webfont -->
  {{ HTML::style("http://fonts.googleapis.com/css?family=Roboto:400,500") }}
  <!-- Global styles for this template -->
  @yield('header')
  {{ HTML::style("css/calendar.css") }}
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta name="description" content="">
  <meta name="author" content="">
  <meta property="og:title" content="">
  <meta property="og:site_name" content="">
  <meta property="og:description" content="">
  <meta property="og:image" content="{{ asset('') }}">
  <link rel="shortcut icon" href="{{ asset('favicons/favicon.ico') }}">
  <link rel="apple-touch-icon" sizes="57x57" href="{{ asset('favicons/apple-touch-icon-57x57.png') }}">
  <link rel="apple-touch-icon" sizes="114x114" href="{{ asset('favicons/apple-touch-icon-114x114.png') }}">
  <link rel="apple-touch-icon" sizes="72x72" href="{{ asset('favicons/apple-touch-icon-72x72.png') }}">
  <link rel="apple-touch-icon" sizes="144x144" href="{{ asset('favicons/apple-touch-icon-144x144.png') }}">
  <link rel="apple-touch-icon" sizes="60x60" href="{{ asset('favicons/apple-touch-icon-60x60.png') }}">
  <link rel="apple-touch-icon" sizes="120x120" href="{{ asset('favicons/apple-touch-icon-120x120.png') }}">
  <link rel="apple-touch-icon" sizes="76x76" href="{{ asset('favicons/apple-touch-icon-76x76.png') }}">
  <link rel="apple-touch-icon" sizes="152x152" href="{{ asset('favicons/apple-touch-icon-152x152.png') }}">
  <link rel="icon" type="image/png" href="{{ asset('favicons/favicon-196x196.png') }}" sizes="196x196">
  <link rel="icon" type="image/png" href="{{ asset('favicons/favicon-160x160.png') }}" sizes="160x160">
  <link rel="icon" type="image/png" href="{{ asset('favicons/favicon-96x96.png') }}" sizes="96x96">
  <link rel="icon" type="image/png" href="{{ asset('favicons/favicon-16x16.png') }}" sizes="16x16">
  <link rel="icon" type="image/png" href="{{ asset('favicons/favicon-32x32.png') }}" sizes="32x32">
  <meta name="msapplication-TileColor" content="#ffffff">
  <meta name="msapplication-TileImage" content="{{ asset('favicons/mstile-144x144.png') }}">
  <meta name="msapplication-config" content="{{ asset('favicons/browserconfig.xml') }}">
  <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
  <!--[if lt IE 9]>
    {{ HTML::script("js/html5shiv.js") }}
    {{ HTML::script("js/respond.min.js") }}
    <![endif]-->
  <!--<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
    <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>-->
</head>

<body>
  <nav class="nav-main">
    <h1>Trappenhuis</h1>
    <section>
      @section('nav')
      <ul class="nav-list">
        <li>
          <a href="{{ route('calendar.index') }}" {{ Route::currentRouteName()=='calendar.index' ? ' class="active"' : '' }}>
            <i class="glyphicon glyphicon-calendar"></i>
            {{ucfirst(trans('educal.calendar'))}}
          </a>
        </li>
        @if(Sentry::getUser()->hasAccess('school'))
        <li>
          <a href="{{ route('school.index') }}"
          {{ Route::currentRouteName()=='school.index' ? ' class="active"' : '' }}>
            <i class="glyphicon glyphicon-folder-close"></i>
            {{ucfirst(trans('educal.schools'))}}
          </a>
        </li>
        @endif
        @if(Sentry::getUser()->hasAnyAccess(array('school','calendar')))
        <li>
          <a href="{{ route('calendar.index') }}"
          {{ Route::currentRouteName()=='calendar.index' ? ' class="active"' : '' }}>
            <i class="fa fa-rocket fa-lg"></i>
            {{ucfirst(trans('educal.groups'))}}
          </a>
        </li>
        @endif
        @if(Sentry::getUser()->hasAnyAccess(array('school','user')))
        <li>
          <a href="{{ route('user.index') }}"
          {{ Route::currentRouteName()=='user.index' ? ' class="active"' : '' }}>
            <i class="fa fa-users fa-lg"></i>
            {{ucfirst(trans('educal.users'))}}
          </a>
        </li>
        @endif
      </ul>
      @show
    </section>
    @if(Sentry::check())
    <section>
      <ul class="nav-list">
        <li><a href="{{ route('school.index') }}">Help!</a></li>
        <li><a href="{{ route('user.index') }}">Profiel</a></li>
        <li><a href="{{ route('calendar.index') }}">Instellingen</a></li>
      </ul>
      <div>
        <p>{{ucfirst(trans('educal.loggedinas'))}}</p>
        <br> @if(Sentry::getUser()->first_name != "")
        <span>{{Sentry::getUser()->first_name}} {{Sentry::getUser()->last_name}}</span>
        @else
        <span>{{Sentry::getUser()->email}}</span>
        @endif
        @if(Sentry::getUser()->school != null)
        <span>{{Sentry::getUser()->school->name}}</span>
        @endif
      </div>
    </section>
    @endif
  </nav>
  <main class="main">
    @yield('content')
  </main>
  <div id="backdrop" class="hidden"></div>
  @yield('footerScript')
</body>
<script>
  (function(i, s, o, g, r, a, m) {
    i['GoogleAnalyticsObject'] = r;
    i[r] = i[r] || function() {
      (i[r].q = i[r].q || []).push(arguments)
    }, i[r].l = 1 * new Date();
    a = s.createElement(o),
      m = s.getElementsByTagName(o)[0];
    a.async = 1;
    a.src = g;
    m.parentNode.insertBefore(a, m)
  })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');

  ga('create', 'UA-42559847-18', 'auto');
  ga('send', 'pageview');
</script>

</html>
<commit_msg>Remove usage of route user.index<commit_after><!doctype html>
<html lang="{{ Config::get('app.locale') }}" dir="ltr">

<head>
  <meta charset="UTF-8">
  <title>{{ HTML::entities('EduCal') }}</title>
  <!-- Google Webfont -->
  {{ HTML::style("http://fonts.googleapis.com/css?family=Roboto:400,500") }}
  <!-- Global styles for this template -->
  @yield('header')
  {{ HTML::style("css/calendar.css") }}
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta name="description" content="">
  <meta name="author" content="">
  <meta property="og:title" content="">
  <meta property="og:site_name" content="">
  <meta property="og:description" content="">
  <meta property="og:image" content="{{ asset('') }}">
  <link rel="shortcut icon" href="{{ asset('favicons/favicon.ico') }}">
  <link rel="apple-touch-icon" sizes="57x57" href="{{ asset('favicons/apple-touch-icon-57x57.png') }}">
  <link rel="apple-touch-icon" sizes="114x114" href="{{ asset('favicons/apple-touch-icon-114x114.png') }}">
  <link rel="apple-touch-icon" sizes="72x72" href="{{ asset('favicons/apple-touch-icon-72x72.png') }}">
  <link rel="apple-touch-icon" sizes="144x144" href="{{ asset('favicons/apple-touch-icon-144x144.png') }}">
  <link rel="apple-touch-icon" sizes="60x60" href="{{ asset('favicons/apple-touch-icon-60x60.png') }}">
  <link rel="apple-touch-icon" sizes="120x120" href="{{ asset('favicons/apple-touch-icon-120x120.png') }}">
  <link rel="apple-touch-icon" sizes="76x76" href="{{ asset('favicons/apple-touch-icon-76x76.png') }}">
  <link rel="apple-touch-icon" sizes="152x152" href="{{ asset('favicons/apple-touch-icon-152x152.png') }}">
  <link rel="icon" type="image/png" href="{{ asset('favicons/favicon-196x196.png') }}" sizes="196x196">
  <link rel="icon" type="image/png" href="{{ asset('favicons/favicon-160x160.png') }}" sizes="160x160">
  <link rel="icon" type="image/png" href="{{ asset('favicons/favicon-96x96.png') }}" sizes="96x96">
  <link rel="icon" type="image/png" href="{{ asset('favicons/favicon-16x16.png') }}" sizes="16x16">
  <link rel="icon" type="image/png" href="{{ asset('favicons/favicon-32x32.png') }}" sizes="32x32">
  <meta name="msapplication-TileColor" content="#ffffff">
  <meta name="msapplication-TileImage" content="{{ asset('favicons/mstile-144x144.png') }}">
  <meta name="msapplication-config" content="{{ asset('favicons/browserconfig.xml') }}">
  <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
  <!--[if lt IE 9]>
    {{ HTML::script("js/html5shiv.js") }}
    {{ HTML::script("js/respond.min.js") }}
    <![endif]-->
  <!--<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
    <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>-->
</head>

<body>
  <nav class="nav-main">
    <h1>Trappenhuis</h1>
    <section>
      @section('nav')
      <ul class="nav-list">
        <li>
          <a href="{{ route('calendar.index') }}" {{ Route::currentRouteName()=='calendar.index' ? ' class="active"' : '' }}>
            <i class="glyphicon glyphicon-calendar"></i>
            {{ucfirst(trans('educal.calendar'))}}
          </a>
        </li>
        @if(Sentry::getUser()->hasAccess('school'))
        <li>
          <a href="{{ route('school.index') }}"
          {{ Route::currentRouteName()=='school.index' ? ' class="active"' : '' }}>
            <i class="glyphicon glyphicon-folder-close"></i>
            {{ucfirst(trans('educal.schools'))}}
          </a>
        </li>
        @endif
        @if(Sentry::getUser()->hasAnyAccess(array('school','calendar')))
        <li>
          <a href="{{ route('calendar.index') }}"
          {{ Route::currentRouteName()=='calendar.index' ? ' class="active"' : '' }}>
            <i class="fa fa-rocket fa-lg"></i>
            {{ucfirst(trans('educal.groups'))}}
          </a>
        </li>
        @endif
        @if(Sentry::getUser()->hasAnyAccess(array('school','user')))
        <li>
          <a href="{{ route('orgs.index') }}"
          {{ Route::currentRouteName()=='user.index' ? ' class="active"' : '' }}>
            <i class="fa fa-users fa-lg"></i>
            {{ucfirst(trans('educal.users'))}}
          </a>
        </li>
        @endif
      </ul>
      @show
    </section>
    @if(Sentry::check())
    <section>
      <ul class="nav-list">
        <li><a href="{{ route('orgs.index') }}">Help!</a></li>
        <li><a href="{{ route('orgs.index') }}">Profiel</a></li>
        <li><a href="{{ route('calendar.index') }}">Instellingen</a></li>
      </ul>
      <div>
        <p>{{ucfirst(trans('educal.loggedinas'))}}</p>
        <br> @if(Sentry::getUser()->first_name != "")
        <span>{{Sentry::getUser()->first_name}} {{Sentry::getUser()->last_name}}</span>
        @else
        <span>{{Sentry::getUser()->email}}</span>
        @endif
        @if(Sentry::getUser()->school != null)
        <span>{{Sentry::getUser()->school->name}}</span>
        @endif
      </div>
    </section>
    @endif
  </nav>
  <main class="main">
    @yield('content')
  </main>
  <div id="backdrop" class="hidden"></div>
  @yield('footerScript')
</body>
<script>
  (function(i, s, o, g, r, a, m) {
    i['GoogleAnalyticsObject'] = r;
    i[r] = i[r] || function() {
      (i[r].q = i[r].q || []).push(arguments)
    }, i[r].l = 1 * new Date();
    a = s.createElement(o),
      m = s.getElementsByTagName(o)[0];
    a.async = 1;
    a.src = g;
    m.parentNode.insertBefore(a, m)
  })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');

  ga('create', 'UA-42559847-18', 'auto');
  ga('send', 'pageview');
</script>

</html>

{'fraction_non_alphanumeric': 0.24413353404764013, 'fraction_numerical': 0.030284246878597362, 'mean_word_length': 3.4464566929133857, 'pattern_counts': {'":': 0, '<': 221, '<?xml version=': 0, '>': 241, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, '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': '2748375', 'n_tokens_mistral': 4230, 'n_tokens_neox': 3915, 'n_words': 618}