mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-29 05:51:22 +00:00
1e6d3efc14
Added some missing translations Small CSS tweaks
15 lines
580 B
Text
15 lines
580 B
Text
<div class="header"><%= t('widget.schedule') %></div>
|
|
|
|
<div class="widget-content-wrapper">
|
|
<% upcoming_matches.group_by{ |e| e.start.month }.each do |month, events| %>
|
|
<% events.group_by { |e| e.start.day }.each do |day, day_events| %>
|
|
<div class="separator"><%= day_events.first.start.strftime("%A, %e %B") %></div>
|
|
<% day_events.each do |event| %>
|
|
<div class="content">
|
|
<p><%= event.formatted_summary %></p>
|
|
<p><%= event.start.strftime("%H:%M %Z") %></p>
|
|
</div>
|
|
<% end %>
|
|
<% end %>
|
|
<% end %>
|
|
</div>
|