Allow setting of 0 incident days. Closes #920

This commit is contained in:
James Brooks
2015-08-18 21:27:09 +01:00
parent d47121b93d
commit 885c17054f
3 changed files with 11 additions and 3 deletions

View File

@@ -55,6 +55,7 @@
</div>
@endif
@if($days_to_show > 0)
<div class="section-timeline">
<h1>{{ trans('cachet.incidents.past') }}</h1>
@foreach($all_incidents as $date => $incidents)
@@ -80,4 +81,5 @@
@endif
</ul>
</nav>
@endif
@stop