2020-06-12 20:03:43 +00:00
|
|
|
<%- # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later
|
|
|
|
# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -%>
|
2018-03-25 17:30:42 +00:00
|
|
|
<aside class='u-marginBottom--15 pastelBox--grey u-centered u-relative'>
|
|
|
|
<header>Date & Time</header>
|
|
|
|
<div class='pastelBox-body'>
|
|
|
|
<h5 class='strong u-marginBottom--0'>
|
|
|
|
<%= Format::Date.full_range(@event.start_datetime, @event.end_datetime, @nonprofit.timezone) %>
|
|
|
|
</h5>
|
|
|
|
|
|
|
|
<% if Time.now > @event.end_datetime %>
|
|
|
|
<p class='u-color--red u-marginTop--10 u-marginBottom--0'>
|
|
|
|
This event has ended
|
|
|
|
</p>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
</aside>
|