<div class="easy-activity-feed-activity-event">
  <dt class="<%= event.event_type %>">
    <span class="date">
      <%= format_date(event.event_datetime) %>
    </span>
    <span class="time">
      <%= format_time(event.event_datetime, false) %>
    </span>
    <% if (author = event.event_author) %>
      <span class="author">
        <%= avatar(author, :size => "24")  %>
        <span class="name"><%= link_to_user(author) %></span>
      </span>
    <% end %>
    <%= content_tag('span', h(event.project), :class => 'project') %>
    <%= link_to format_activity_title(event.event_title), event.event_url %>
  </dt>
  <dd>
    <span class="description">
      <%= format_activity_feed_description(event.event_description) %>
    </span>
  </dd>
  <dl>
    <% if event.respond_to?(:journals) && (journal = event.journals.with_notes.last) && (journal.notes.present?) %>
      <%= render :partial => 'easy_activities/event_journal', :locals => {description: journal.notes} %>
    <% end %>
  </dl>
</div>