mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-01-14 00:48:05 +00:00
Merge pull request #320 from erqan/blaster
add time of RT to post's 'twisted again by @' line...
This commit is contained in:
commit
f5937880d1
@ -1106,6 +1106,9 @@ ol.toptrends-list {
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
.post-retransmited-time:before {
|
||||
content: ' ';
|
||||
}
|
||||
.post-interactions
|
||||
{
|
||||
margin: 2px 10px 10px 60px;
|
||||
|
@ -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) -->
|
||||
|
@ -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) -->
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user