From ab42f918ad2ad129299df7bd2c98f11a63031426 Mon Sep 17 00:00:00 2001 From: sw <939547590@qq.com> Date: Thu, 23 Oct 2014 17:14:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=82=B9=E5=87=BB=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E5=90=8E=E5=BC=B9=E5=87=BA=E7=9A=84=E5=A4=B4=E5=83=8F?= =?UTF-8?q?=E4=B8=8D=E6=AD=A3=E7=A1=AE=E7=9A=84BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/activities/index.html.erb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/views/activities/index.html.erb b/app/views/activities/index.html.erb index d03a05477..8b3d5153f 100644 --- a/app/views/activities/index.html.erb +++ b/app/views/activities/index.html.erb @@ -1,9 +1,7 @@

<%= @author.nil? ? l(:label_activity) : l(:label_user_activity, link_to_user(@author)).html_safe %>

<%= l(:label_date_from_to, :start => format_date(@date_to - @days), :end => format_date(@date_to-1)) %> -

- - +

<% @events_by_day.keys.sort.reverse.each do |day| %>

@@ -13,7 +11,8 @@
- + + <%= image_tag(url_to_avatar(e.event_author), :class => "avatar") %>