|
|
|
@ -93,21 +93,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<!--Document-->
|
|
|
|
|
<% elsif e.forge_act_type == "Document" %>
|
|
|
|
|
<div class="problem_main">
|
|
|
|
|
<a class="problem_pic fl"><%= image_tag(url_to_avatar(e.user), :width => "42", :height => "42") %></a>
|
|
|
|
|
<div class="problem_txt fl mt5 break_word">
|
|
|
|
|
<a class="problem_name fl ">
|
|
|
|
|
<%= h(e.project) if @project.nil? || @project.id != e.project_id %>
|
|
|
|
|
<%= link_to h(e.user), user_path(e.user_id), :class => "problem_name c_orange fl" %></a><span class="fl"> <%= l(:label_new_activity) %> :</span>
|
|
|
|
|
|
|
|
|
|
<%= link_to format_activity_title("#{l(:label_document)}: #{act.title}"), {:controller => 'documents', :action => 'show', :id => act.id}, :class => "problem_tit fl fb" %><br />
|
|
|
|
|
<p class="mt5 break_word"><%= textAreailizable act,:description %><br />
|
|
|
|
|
<%= l :label_create_time %> :<%= format_activity_day(act.created_on) %> <%= format_time(act.created_on, false) %></p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<!--Attachment -->
|
|
|
|
|
<% elsif e.forge_act_type == "Attachment" %>
|
|
|
|
|
<div class="problem_main">
|
|
|
|
|