issue2626,建议什么时候创建工程的信息也要加进来。
This commit is contained in:
parent
57c97f3dc8
commit
383d90bb12
|
@ -21,7 +21,37 @@
|
||||||
<div class="scroll">
|
<div class="scroll">
|
||||||
<% unless @events_pages.empty? %>
|
<% unless @events_pages.empty? %>
|
||||||
<% @events_pages.each do |e| -%>
|
<% @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? %>
|
next if act.nil? %>
|
||||||
<% if e.forge_act_type == "Issue" %>
|
<% 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;">
|
<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;">
|
||||||
|
|
Loading…
Reference in New Issue