mirror of
https://github.com/ENSL/ensl.org.git
synced 2025-01-28 04:00:45 +00:00
Check for upcoming matches before showing the calendar
This commit is contained in:
parent
eee3c1c905
commit
68b6c15b4f
1 changed files with 18 additions and 16 deletions
|
@ -1,4 +1,5 @@
|
|||
<div class="widget calendar">
|
||||
<% if upcoming_matches.size > 0 %>
|
||||
<div class="widget calendar">
|
||||
<h4><%= t('widget.schedule') %></h4>
|
||||
|
||||
<div class="widget-content-wrapper">
|
||||
|
@ -16,4 +17,5 @@
|
|||
<% end %>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in a new issue