|
|
@ -3,7 +3,7 @@
|
|
|
|
<h3><%= @author.nil? ? l(:label_activity) : l(:label_user_activity, link_to_user(@author)).html_safe %></h3>
|
|
|
|
<h3><%= @author.nil? ? l(:label_activity) : l(:label_user_activity, link_to_user(@author)).html_safe %></h3>
|
|
|
|
<p class="subtitle">
|
|
|
|
<p class="subtitle">
|
|
|
|
<%= l(:label_date_from_to, :start => format_date(@date_to - @days), :end => format_date(@date_to-1)) %>
|
|
|
|
<%= l(:label_date_from_to, :start => format_date(@date_to - @days), :end => format_date(@date_to-1)) %>
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
<div id="activity">
|
|
|
|
<div id="activity">
|
|
|
|
<% @events_by_day.keys.sort.reverse.each do |day| %>
|
|
|
|
<% @events_by_day.keys.sort.reverse.each do |day| %>
|
|
|
|
<h3></h3>
|
|
|
|
<h3></h3>
|
|
|
@ -15,7 +15,7 @@
|
|
|
|
<td colspan="2" valign="top" width="50" ><%= image_tag(url_to_avatar(e.event_author), :class => "avatar")%></td>
|
|
|
|
<td colspan="2" valign="top" width="50" ><%= image_tag(url_to_avatar(e.event_author), :class => "avatar")%></td>
|
|
|
|
<td><table width="580px" border="0">
|
|
|
|
<td><table width="580px" border="0">
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td colspan="2" valign="top"><strong> <%= h(e.project) if @project.nil? || @project != e.project %></strong> <span class="font_lighter"><%= link_to_user(e.event_author) if e.respond_to?(:event_author) %> <%= l(:label_new_activity) %></span> <%= link_to format_activity_title(e.event_title), e.event_url %></td>
|
|
|
|
<td colspan="2" valign="top"><strong> <%= h(e.project) if @project.nil? || @project.id != e.project.id %></strong> <span class="font_lighter"><%= link_to_user(e.event_author) if e.respond_to?(:event_author) %> <%= l(:label_new_activity) %></span> <%= link_to format_activity_title(e.event_title), e.event_url %></td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td colspan="2" width="580px" ><p class="font_description"><%= textilizable(e.event_description) %></p></td>
|
|
|
|
<td colspan="2" width="580px" ><p class="font_description"><%= textilizable(e.event_description) %></p></td>
|
|
|
|