summaryrefslogtreecommitdiff
path: root/resources/views/index.blade.php
diff options
context:
space:
mode:
Diffstat (limited to 'resources/views/index.blade.php')
-rw-r--r--resources/views/index.blade.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/resources/views/index.blade.php b/resources/views/index.blade.php
index cde358d..0500e96 100644
--- a/resources/views/index.blade.php
+++ b/resources/views/index.blade.php
@@ -23,6 +23,7 @@
<th scope="col">Venue</th>
<th scope="col">Referee</th>
<th scope="col">Date</th>
+ <th scope="col">Video</th>
</tr>
</thead>
@@ -37,6 +38,11 @@
<td>{{ $match->getDisplayName() }}</td>
<td>{{ $match->referee }}</td>
<td>{{ $match->getDisplayDate() }}</td>
+ @if ($match->getVideoUrl())
+ <td><a href="{{ $match->getVideoUrl() }}">Play</a></td>
+ @else
+ <td></td>
+ @endif
</tr>
@endforeach
</tbody>