Check for upcoming matches before showing the calendar

This commit is contained in:
Luke Barratt 2014-08-11 00:10:40 +01:00
parent a83b5bc0f8
commit b97b3173bc

View file

@ -1,3 +1,4 @@
<% if upcoming_matches.size > 0 %>
<div class="widget calendar">
<h4><%= t('widget.schedule') %></h4>
@ -17,3 +18,4 @@
<% end %>
</div>
</div>
<% end %>