2018-03-25 17:20:54 +00:00
|
|
|
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
|
2018-03-25 17:30:42 +00:00
|
|
|
<% css = 'fundraiser--active' if css.nil? %>
|
|
|
|
<section class='events <%= css %>'>
|
|
|
|
<div class='event-date'>
|
|
|
|
<p> <%= Format::Date.full_range(event.start_datetime, event.end_datetime, event.nonprofit.timezone) %> </p>
|
|
|
|
</div>
|
|
|
|
<a href='<%= event.url %>'>
|
|
|
|
<article class='event-text'>
|
|
|
|
<h4 class='event-title' if-branded='color, darker'><%= event.name %></h4>
|
|
|
|
<p class='event-tagl'><%= event.tagline %></p>
|
|
|
|
<p class='event-desc'><%= event.summary %></p>
|
|
|
|
</article>
|
|
|
|
</a>
|
|
|
|
</section>
|