aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/shared/_tweet.haml
diff options
context:
space:
mode:
authorre4k <re4k@re4k.info>2013-03-14 23:28:59 +0900
committerre4k <re4k@re4k.info>2013-03-14 23:28:59 +0900
commit85079ba8a48160b43099f80b3d567c812d9099a8 (patch)
tree8cde057bfc7aa00c6e1c0f610a6da5aad1c2a5bd /app/views/shared/_tweet.haml
parent2bf399afa9707b08523f538332657ee06156efb0 (diff)
downloadaclog-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.haml4
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