Mercurial > rsstweet
diff app/views/tweets/_tweet.html.erb @ 128:d4b2bd9e23f5
Add original tweet date for retweets
author | nanaya <me@nanaya.pro> |
---|---|
date | Sun, 01 Oct 2017 03:50:28 +0900 |
parents | c9864cf35950 |
children | faae69155f90 |
line wrap: on
line diff
--- a/app/views/tweets/_tweet.html.erb Fri Sep 08 21:17:53 2017 +0900 +++ b/app/views/tweets/_tweet.html.erb Sun Oct 01 03:50:28 2017 +0900 @@ -1,6 +1,7 @@ <% if tweet.retweeted_status.present? %> <p> <em>Retweeted:</em> + <br><small>Originally tweeted at <%= tweet.retweeted_status.created_at.to_s :rfc822 %></small> </p> <%= render "tweet", :tweet => tweet.retweeted_status %>