From 45c6b969ed0222aac8b377678c0292773b84d819 Mon Sep 17 00:00:00 2001 From: erqan Date: Tue, 3 Nov 2015 17:42:34 +0300 Subject: [PATCH] rt time... --- css/style.css | 3 +++ following.html | 1 + home.html | 1 + js/twister_formatpost.js | 5 +++-- 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/css/style.css b/css/style.css index 42d15b4..d0508aa 100644 --- a/css/style.css +++ b/css/style.css @@ -1106,6 +1106,9 @@ ol.toptrends-list { margin: 2px; } +.post-retransmited-time:before { + content: ' '; +} .post-interactions { margin: 2px 10px 10px 60px; diff --git a/following.html b/following.html index 603ef13..a6b5f42 100644 --- a/following.html +++ b/following.html @@ -280,6 +280,7 @@ twisted again by + diff --git a/home.html b/home.html index 3ecaf28..f7d32f6 100644 --- a/home.html +++ b/home.html @@ -371,6 +371,7 @@ twisted again by + diff --git a/js/twister_formatpost.js b/js/twister_formatpost.js index 77e1e10..87d1a5f 100644 --- a/js/twister_formatpost.js +++ b/js/twister_formatpost.js @@ -3,8 +3,8 @@ // // Format JSON posts and DMs to HTML. -var _templatePostRtReference -var _templatePostRtBy +var _templatePostRtReference; +var _templatePostRtBy; var _htmlFormatMsgLinkTemplateExternal; var _htmlFormatMsgLinkTemplateUser; var _htmlFormatMsgLinkTemplateHashtag; @@ -160,6 +160,7 @@ function postToElem(post, kind, promoted) { .find('.post-retransmited-by') .attr('href', $.MAL.userUrl(retweeted_by)).text('@' + retweeted_by) ; + postContext.find('.post-retransmited-time').text('on ' + timeGmtToText(post.userpost.time)); // let's check original post and grab some possible RT dhtget(username, 'post' + k, 's', function(args, post) {