<h5 class="text-center"><%= t("projects.index.activity_tab") %></h5>
<hr>
<ul class="no-style double-line content-activities">
  <% if @activities.size == 0 then %>
    <li><em><%= t 'projects.index.no_activities' %></em></li>
  <% else %>
    <% @activities.each do |activity| %>
      <li><span class="text-muted"><%= l activity.created_at, format: :full %></span>
        <br><span><%= activity_truncate(activity.message) %></span>
      </li>
    <% end %>
  <% end %>
</ul>

<h5 class="text-center"><%= t("projects.index.activity_tab") %></h5>
<hr>
<ul class="no-style double-line content-activities">
  <% if @activities.size == 0 then %>
    <li><em><%= t 'projects.index.no_activities' %></em></li>
  <% else %>
    <% @activities.each do |activity| %>
      <li><span class="text-muted"><%= l activity.created_at, format: :full %></span>
        <br>
        <span>
          <%= activity_truncate(activity.message) %>
          <% if activity.my_module %>
            [<%=t 'Module' %>:
            <% if activity.my_module.name.length >
                   Constants::NAME_TRUNCATION_LENGTH %>
              <%= truncate(activity.my_module.name,
                lenght: Constants::NAME_TRUNCATION_LENGTH) %>
            <% else %>
              <%= activity.my_module.name %>
            <% end %>]
          <% end %>
        </span>
      </li>
    <% end %>
  <% end %>
</ul>

Add task name to project activity
Add task name to project activity [SCI-275]
