time spell error.
This commit is contained in:
parent
e4162bbff9
commit
9f3d29a1f9
|
@ -159,12 +159,12 @@
|
|||
<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