rt time...

This commit is contained in:
erqan 2015-11-03 17:42:34 +03:00
parent 0e26f527f0
commit 45c6b969ed
4 changed files with 8 additions and 2 deletions

View File

@ -1106,6 +1106,9 @@ ol.toptrends-list {
margin: 2px;
}
.post-retransmited-time:before {
content: ' ';
}
.post-interactions
{
margin: 2px 10px 10px 60px;

View File

@ -280,6 +280,7 @@
<i class="post-retransmited-icon"></i>
<span>twisted again by</span><span> </span>
<a class="post-retransmited-by open-profile-modal" href=""></a>
<span class="post-retransmited-time"></span>
</div>
<!-- template for user links in message (open profile modal) -->

View File

@ -371,6 +371,7 @@
<i class="post-retransmited-icon"></i>
<span>twisted again by</span><span> </span>
<a class="post-retransmited-by open-profile-modal" href=""></a>
<span class="post-retransmited-time"></span>
</div>
<!-- template for user links in message (open profile modal) -->

View File

@ -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) {