|
|
@ -1,17 +1,15 @@
|
|
|
|
<p>
|
|
|
|
<% if @events_by_day.size >0 %>
|
|
|
|
<% if @events_by_day.size >0 %>
|
|
|
|
<div class="content-title-top-avtive">
|
|
|
|
<div style="padding-left: 8px">
|
|
|
|
<!-- <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">
|
|
|
|
|
|
|
|
<% @events_by_day.keys.sort.reverse.each do |day| %>
|
|
|
|
<% @events_by_day.keys.sort.reverse.each do |day| %>
|
|
|
|
<h3></h3>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<% sort_activity_events(@events_by_day[day]).each do |e, in_group| -%>
|
|
|
|
<% sort_activity_events(@events_by_day[day]).each do |e, in_group| -%>
|
|
|
|
<div class="issue-note">
|
|
|
|
<div>
|
|
|
|
<table width="660px" border="0" align="center" style="font-size: 14px;">
|
|
|
|
<table class="underline-evreycontent" style="font-size: 14px;">
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<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>
|
|
|
|
<td>
|
|
|
@ -48,11 +46,10 @@
|
|
|
|
<ul>
|
|
|
|
<ul>
|
|
|
|
<%= pagination_links_full @events_pages%>
|
|
|
|
<%= pagination_links_full @events_pages%>
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<% else %>
|
|
|
|
<% else %>
|
|
|
|
<p class="font_description">
|
|
|
|
<div class="font_description">
|
|
|
|
<table width="660">
|
|
|
|
<table width="660">
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td><%= image_tag(url_to_avatar(@user), :class => "avatar") %></td>
|
|
|
|
<td><%= image_tag(url_to_avatar(@user), :class => "avatar") %></td>
|
|
|
@ -66,6 +63,5 @@
|
|
|
|
</table></td>
|
|
|
|
</table></td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</table>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
</p>
|
|
|
|
|