diff options
author | re4k <re4k@re4k.info> | 2013-05-06 19:54:57 +0900 |
---|---|---|
committer | re4k <re4k@re4k.info> | 2013-05-06 19:54:57 +0900 |
commit | 0e074db0d1b4e47ebfe1cbdb6745cbb60102f03a (patch) | |
tree | bcc61afcc12c80dcb0ab28b0230488a1bd27d30a /app/views/shared/sidebar/_users.html.haml | |
parent | 4a68cb6608df1ee4f940e2a14c87d7467bcde9ea (diff) | |
download | aclog-0e074db0d1b4e47ebfe1cbdb6745cbb60102f03a.tar.gz |
update stats
Diffstat (limited to 'app/views/shared/sidebar/_users.html.haml')
-rw-r--r-- | app/views/shared/sidebar/_users.html.haml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/shared/sidebar/_users.html.haml b/app/views/shared/sidebar/_users.html.haml index b0e3277..a23445a 100644 --- a/app/views/shared/sidebar/_users.html.haml +++ b/app/views/shared/sidebar/_users.html.haml @@ -7,16 +7,16 @@ %ul.records %li %span favorited - %span.data= @user.stats.favorited_count + %span.data= @user.stats.favorited_count_str %li %span retweeted - %span.data= @user.stats.retweeted_count + %span.data= @user.stats.retweeted_count_str %li %span avg. fav - %span.data= ((@user.stats.favorited_count + 0.0) / @user.stats.tweets_count).round(2) + %span.data= @user.stats.average_favorited_count.round(2) %li %span joined - %span.data= format_days_ago(@user.account.created_at) + %span.data= @user.stats.since_join.to_s + "d ago" - else .alert.alert-info = "@#{@user.screen_name} has never signed in to aclog" |