|
|
|
@ -9,7 +9,7 @@
|
|
|
|
|
<% if e.forge_act_type == "ProjectCreateInfo"%>
|
|
|
|
|
<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">
|
|
|
|
|
<div class="problem_txt fl mt5 break_word">
|
|
|
|
|
<%= link_to e.user, user_path(e.user), :class => "problem_name c_orange fl" %> <span class="fl"> <%= l(:label_project_create) %> :</span>
|
|
|
|
|
<%= link_to e.project.name, :class => "problem_tit fl fb" %></a><br />
|
|
|
|
|
<p class="mt5"><br /> <%= l :label_create_time %> :<%= format_time(e.project.created_on) %></p>
|
|
|
|
@ -24,7 +24,7 @@
|
|
|
|
|
<% if e.forge_act_type == "Issue" %>
|
|
|
|
|
<div class="problem_main">
|
|
|
|
|
<a class="problem_pic fl"><%= image_tag(url_to_avatar(act.author), :width => "42", :height => "42") %></a>
|
|
|
|
|
<div class="problem_txt fl mt5">
|
|
|
|
|
<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 act.author, user_path(act.author), :class => "problem_name c_orange fl" %><span class="fl"> <%= l(:label_new_activity) %> :</span>
|
|
|
|
@ -44,7 +44,7 @@
|
|
|
|
|
<% elsif e.forge_act_type == "Journal" %>
|
|
|
|
|
<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">
|
|
|
|
|
<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" %><span class="fl"> <%= l(:label_new_activity) %> :</span>
|
|
|
|
@ -60,7 +60,7 @@
|
|
|
|
|
<% elsif e.forge_act_type == "Message" %>
|
|
|
|
|
<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">
|
|
|
|
|
<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>
|
|
|
|
@ -80,7 +80,7 @@
|
|
|
|
|
<% elsif e.forge_act_type == "News" %>
|
|
|
|
|
<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">
|
|
|
|
|
<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>
|
|
|
|
@ -98,7 +98,7 @@
|
|
|
|
|
<% 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">
|
|
|
|
|
<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>
|
|
|
|
@ -113,7 +113,7 @@
|
|
|
|
|
<% elsif e.forge_act_type == "Attachment" %>
|
|
|
|
|
<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">
|
|
|
|
|
<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>
|
|
|
|
|