{% load i18n %} {% load staticfiles %} {% autoescape off %}

<%= title %>

<% print(posted_by.first_name + ' ' + posted_by.last_name) %> {% trans 'in' %} <%= _community_name %> {% trans 'on' %} <%= moment(date_created).format('LL') %>

<%= description %>

<% if (event) { %>
<%= moment(event.start_date).format('MMM') %>

<%= moment(event.start_date).format('D') %>

<%= moment(event.start_date).format('dddd') %>

<%= event.location %>

<% if ((new Date(event.end_date).setHours(0,0,0,0)) === (new Date(event.start_date).setHours(0,0,0,0))) { %>

<%= moment(event.start_date).format('dddd D MMM YYYY, hh:mm') %> - <%= moment(event.end_date).format('hh:mm') %>

<% } else {%>

{% trans 'Starts' %}  <%= moment(event.start_date).format('dddd MMM D YYYY, hh:mm') %>

{% trans 'Ends' %}  <%= moment(event.end_date).format('dddd MMM D YYYY, hh:mm') %>

<% } %>
<% } %>
<% if (_comment_count) { %>
{% trans 'Load more' %} <% } %>
{% endautoescape %}