Prevent bots from indexing date ranges with no incidents. Closes #624.

This commit is contained in:
James Brooks
2015-05-08 11:06:02 +01:00
parent 2c0e806ad6
commit 06b9bc2757
2 changed files with 5 additions and 0 deletions
+2
View File
@@ -41,11 +41,13 @@
<nav>
<ul class="pager">
@if($canPageBackward)
<li class="previous">
<a href="{{ route('status-page') }}?start_date={{ $previousDate }}">
<span aria-hidden="true">&larr;</span> {{ trans('cachet.incidents.previous_week') }}
</a>
</li>
@endif
@if($canPageForward)
<li class="next">
<a href="{{ route('status-page') }}?start_date={{ $nextDate }}">