time spell error.
This commit is contained in:
parent
e4162bbff9
commit
9f3d29a1f9
|
@ -155,16 +155,16 @@
|
|||
<ul class="user-welcome-message-list" style="width: 80%; margin-top: 80px;">
|
||||
<h3 style="margin-left: -5px;">用户动态</h3>
|
||||
<div class="user-message-box-list">
|
||||
<% find_all_activities.each do |event|%>
|
||||
<% find_all_activities.each do |event| %>
|
||||
<li style="display: block;height:60px;">
|
||||
<div class="inner-right" style="float: left; height: 100%;">
|
||||
<img class="avatar-3" style="width: 40px; height: 40px; margin-top:10px;" src="/images/avatars/User/4861?1385345302"></img>
|
||||
<%= image_tag url_to_avatar(event[:event_author]), :class => "avatar-3"%>
|
||||
<%= image_tag url_to_avatar(event.event_author), :class => "avatar-3" %>
|
||||
</div>
|
||||
<div class="inner-right" style="float: right; width:88%; height: 100%;">
|
||||
<span style="color: green;"><%= event[:event_author] %></span> 发表了评论:<span style="color: blue;"><%= truncate(event[:event_description], length: 15, omission:'...') %>
|
||||
<span style="color: green;"><%= event.event_author %></span> 发表了评论:<span style="color: blue;"><%= truncate(event.event_description, length: 15, omission:'...') %>
|
||||
</span>
|
||||
<p><span><%= time_tag event[:date_time] unless event[:date_time].nil?%></span> <span>评论(4)</span></p>
|
||||
<p><span><%= time_tag event.event_datetime %></span> <span>评论(4)</span></p>
|
||||
</div>
|
||||
</li>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in New Issue