修改动态首页显示样式
This commit is contained in:
parent
e923fd1e5b
commit
ae61ccaca9
|
@ -25,13 +25,9 @@
|
||||||
</span>
|
</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 %>
|
<%= 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;">
|
<div class="activity_description info-break" style="font-size: 13px;width: 100%;word-break: break-all;">
|
||||||
<div class="issue-list-description">
|
<%= textAreailizable e,:event_description %>
|
||||||
<div class="wiki">
|
<%#= h(truncate(strip_tags(e.event_description).gsub(/ /, ' '), length: 30, omission: '...')) %>
|
||||||
<%#= textilizable e.event_url,:description %>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<%= h(truncate(strip_tags(e.event_description).gsub(/ /, ' '), length: 30, omission: '...')) %>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="activity_status" style="position:relative; padding-top: 3px;">
|
<div class="activity_status" style="position:relative; padding-top: 3px;">
|
||||||
<span class="font_lighter"> <%= l :label_activity_time %>
|
<span class="font_lighter"> <%= l :label_activity_time %>
|
||||||
|
|
Loading…
Reference in New Issue