<commit_before>@extends('layouts.app')
@section('title')
Milestones List
@stop
<!-- Main Content -->
@section('content')
<h1>Milestones List
  <span class="pull-right"><a href="/milestone/create" class="btn btn-sm btn-primary">Create Milestone</a></span></h1>
  <hr>
  <table class="table table-striped">
<thead>
  <tr>
    <th>Name</th>
    <th>Tickets</th>
    <th>Start</th>
    <th>Due</th>
    <th>Released</th>
    <th>Actions</th>
  </tr>
</thead>
<tbody>
  @foreach ($milestones as $milestone)
<tr>
  <td>{{$milestone->name}}</td>
  <td><span class="badge">{{$milestone->tickets()->whereIn('status_id',['1','2','3','6'])->count()}} / {{$milestone->tickets()->count()}}</span></td>

  @if ($milestone->start_at <> '' && $milestone->start_at != '0000-00-00 00:00:00')
  <td>{{date('M jS, Y',strtotime($milestone->start_at))}}</td>
  @else
    <td></td>
  @endif

  @if ($milestone->due_at <> '' && $milestone->due_at != '0000-00-00 00:00:00')
  <td>{{date('M jS, Y',strtotime($milestone->due_at))}}</td>
  @else
    <td></td>
  @endif

  @if ($milestone->end_at <> '' && $milestone->end_at != '0000-00-00 00:00:00')
  <td>{{date('M jS, Y',strtotime($milestone->end_at))}}</td>
  @else
    <td></td>
  @endif
  @if (!in_array($milestone->name,['Unreviewed','Future Backlog','Backlog','Scheduled']))
  <td align="right"><a href="/milestone/show/{{$milestone->id}}" class="btn btn-sm btn-success">View</a> <a href="/milestone/edit/{{$milestone->id}}" class="btn btn-sm btn-primary">Edit</a></td>
  @else
    <td align="right"><a href="/milestone/show/{{$milestone->id}}" class="btn btn-sm btn-success">View</a></td>
  @endif

</tr>
@endforeach
</tbody>
  </table>
@stop<commit_msg>Remove milestone default requirements<commit_after>@extends('layouts.app')
@section('title')
Milestones List
@stop
<!-- Main Content -->
@section('content')
<h1>Milestones List
  <span class="pull-right"><a href="/milestone/create" class="btn btn-sm btn-primary">Create Milestone</a></span></h1>
  <hr>
  <table class="table table-striped">
<thead>
  <tr>
    <th>Name</th>
    <th>Tickets</th>
    <th>Start</th>
    <th>Due</th>
    <th>Released</th>
    <th>Actions</th>
  </tr>
</thead>
<tbody>
  @foreach ($milestones as $milestone)
<tr>
  <td>{{$milestone->name}}</td>
  <td><span class="badge">{{$milestone->tickets()->whereIn('status_id',['1','2','3','6'])->count()}} / {{$milestone->tickets()->count()}}</span></td>

  @if ($milestone->start_at <> '' && $milestone->start_at != '0000-00-00 00:00:00')
  <td>{{date('M jS, Y',strtotime($milestone->start_at))}}</td>
  @else
    <td></td>
  @endif

  @if ($milestone->due_at <> '' && $milestone->due_at != '0000-00-00 00:00:00')
  <td>{{date('M jS, Y',strtotime($milestone->due_at))}}</td>
  @else
    <td></td>
  @endif

  @if ($milestone->end_at <> '' && $milestone->end_at != '0000-00-00 00:00:00')
  <td>{{date('M jS, Y',strtotime($milestone->end_at))}}</td>
  @else
    <td></td>
  @endif
  
  <td align="right"><a href="/milestone/show/{{$milestone->id}}" class="btn btn-sm btn-success">View</a> <a href="/milestone/edit/{{$milestone->id}}" class="btn btn-sm btn-primary">Edit</a></td>
  
</tr>
@endforeach
</tbody>
  </table>
@stop
{'fraction_non_alphanumeric': 0.26935179358086847, 'fraction_numerical': 0.030207677784770296, 'mean_word_length': 4.707360861759425, 'pattern_counts': {'":': 0, '<': 121, '<?xml version=': 0, '>': 157, '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': '2481416', 'n_tokens_mistral': 1353, 'n_tokens_neox': 1256, 'n_words': 193}