diff options
author | re4k <re4k@re4k.info> | 2013-03-14 23:28:59 +0900 |
---|---|---|
committer | re4k <re4k@re4k.info> | 2013-03-14 23:28:59 +0900 |
commit | 85079ba8a48160b43099f80b3d567c812d9099a8 (patch) | |
tree | 8cde057bfc7aa00c6e1c0f610a6da5aad1c2a5bd /app/views/shared/_tweet.haml | |
parent | 2bf399afa9707b08523f538332657ee06156efb0 (diff) | |
download | aclog-85079ba8a48160b43099f80b3d567c812d9099a8.tar.gz |
Change Twitter Streaming API library to em-twitter
Diffstat (limited to 'app/views/shared/_tweet.haml')
-rw-r--r-- | app/views/shared/_tweet.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/shared/_tweet.haml b/app/views/shared/_tweet.haml index 9b9bd2f..d46e69f 100644 --- a/app/views/shared/_tweet.haml +++ b/app/views/shared/_tweet.haml @@ -18,8 +18,8 @@ %span.source = raw format_source_text(item.source) .stats - - [["FAVS", item.favorites], ["RETWEETS", item.retweets]].each do |type, data| - .type_row.clearfix + - [["FAVS", item.favorites, "favs_row"], ["RETWEETS", item.retweets, "retweets_row"]].each do |type, data, cssclass| + %div{:class => "#{cssclass} clearfix"} .info %span.count= data.length %span.type= type |