|
|
|
@ -7,7 +7,7 @@
|
|
|
|
|
|
|
|
|
|
<% @events_by_day.keys.sort.reverse.each do |day| %>
|
|
|
|
|
<% sort_activity_events(@events_by_day[day]).each do |e, in_group| -%>
|
|
|
|
|
<div class="activity-item underline-evreycontent" style="font-size: 14px;line-height:1.5em;width: 100%;word-break: break-all;">
|
|
|
|
|
<div class="activity-item underline-evreycontent" style="font-size: 14px;line-height:1.5em;width: 100%;word-wrap: break-word;word-break: break-all;">
|
|
|
|
|
<div class="activity-avatar" style="float: left; margin:3px; height: 100%;">
|
|
|
|
|
<%= image_tag(url_to_avatar(e.event_author), :class => "avatar") %>
|
|
|
|
|
</div>
|
|
|
|
@ -24,7 +24,7 @@
|
|
|
|
|
</span>
|
|
|
|
|
<%= link_to "#{eventToLanguageCourse(e.event_type, @project)}: "<< format_activity_title(e.event_title), (e.event_type.eql?("attachment")&&e.container.kind_of?(Project)) ? project_files_path(e.container) : e.event_url %>
|
|
|
|
|
|
|
|
|
|
<div class="activity_description info-break" style="font-size: 13px;width: 100%;word-break: break-all;">
|
|
|
|
|
<div class="activity_description info-break" style="font-size: 13px;width: 100%;word-break: break-all;word-wrap: break-word;">
|
|
|
|
|
<%= textAreailizable e,:event_description %>
|
|
|
|
|
<%#= h(truncate(strip_tags(e.event_description).gsub(/ /, ' '), length: 30, omission: '...')) %>
|
|
|
|
|
</div>
|
|
|
|
|