|
|
|
@ -39,8 +39,8 @@ See doc/COPYRIGHT.rdoc for more details. |
|
|
|
|
<h3><%= format_activity_day(day) %></h3> |
|
|
|
|
<dl> |
|
|
|
|
<% @events_by_day[day].sort {|x,y| y.event_datetime <=> x.event_datetime }.each do |e| -%> |
|
|
|
|
<dt class="<%= User.current.logged? && e.respond_to?(:event_author) && User.current == e.event_author ? 'me' : nil %>"> |
|
|
|
|
<%= icon_wrapper("icon-context icon-#{e.event_type}", t("label_events_#{e.event_type}".underscore)) %> |
|
|
|
|
<dt class="<%= e.event_type %> <%= User.current.logged? && e.respond_to?(:event_author) && User.current == e.event_author ? 'me' : nil %>"> |
|
|
|
|
<%= icon_wrapper("icon-context icon-#{e.event_type}", e.event_name) %> |
|
|
|
|
<%= avatar(e.event_author, :size => "24") if e.respond_to?(:event_author) %> |
|
|
|
|
<span class="time"><%= format_time(e.event_datetime.to_time, false) %></span> |
|
|
|
|
<%= content_tag('span', link_to(e.project.name, e.project), :class => 'project') if (@project.nil? || @project != e.project) && e.project %> |
|
|
|
|