Mercurial > rsstweet
changeset 128:d4b2bd9e23f5
Add original tweet date for retweets
author | nanaya <me@nanaya.pro> |
---|---|
date | Sun, 01 Oct 2017 03:50:28 +0900 |
parents | 05216b67d01d |
children | 9348882a4f35 |
files | app/views/tweets/_tweet.html.erb |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
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 %>