|
|
|
@ -21,7 +21,37 @@
|
|
|
|
|
<div class="scroll">
|
|
|
|
|
<% unless @events_pages.empty? %>
|
|
|
|
|
<% @events_pages.each do |e| -%>
|
|
|
|
|
<% act = e.forge_act;
|
|
|
|
|
<% if e.forge_act_type == "ProjectCreateInfo"%>
|
|
|
|
|
<div class="font_description">
|
|
|
|
|
<table width="660">
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
<%= image_tag(url_to_avatar(e.user), :class => "avatar") %>
|
|
|
|
|
</td>
|
|
|
|
|
<td colspan="2">
|
|
|
|
|
<table width="580">
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
|
|
|
|
|
<%= link_to_user(e.user)%>
|
|
|
|
|
|
|
|
|
|
<%= l(:label_project_new) %>
|
|
|
|
|
<%= link_to e.project.name %>
|
|
|
|
|
<strong> !</strong>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="font_lighter" >
|
|
|
|
|
<%= l :label_create_time %>:
|
|
|
|
|
<%= format_time(e.created_at) %>
|
|
|
|
|
</table>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
<% end %>
|
|
|
|
|
<% next if e.forge_act_type.safe_constantize.nil?
|
|
|
|
|
act = e.forge_act;
|
|
|
|
|
next if act.nil? %>
|
|
|
|
|
<% if e.forge_act_type == "Issue" %>
|
|
|
|
|
<div class="activity-item underline-evreycontent" style="font-size: 14px;line-height:1.5em;width: 100%;word-wrap: break-word;word-break: break-all;margin-top: 10px;">
|
|
|
|
|