show join date on popover
parent
fc19b1a23e
commit
80d240a45b
|
@ -58,6 +58,7 @@ function popclick(e) {
|
|||
popover.getElementsByClassName('pop-commentcount')[0].innerHTML = author["comment_count"]
|
||||
popover.getElementsByClassName('pop-coins')[0].innerHTML = author["coins"]
|
||||
popover.getElementsByClassName('pop-viewmore')[0].href = author["url"]
|
||||
popover.getElementsByClassName('pop-created-date')[0].innerHTML = author["created_date"]
|
||||
}, 5);
|
||||
}
|
||||
|
||||
|
|
|
@ -808,6 +808,7 @@ class User(Base):
|
|||
'post_count': 0 if self.shadowbanned and not (v and v.can_see_shadowbanned) else self.post_count,
|
||||
'comment_count': 0 if self.shadowbanned and not (v and v.can_see_shadowbanned) else self.comment_count,
|
||||
'badges': [x.path for x in self.badges],
|
||||
'created_date': self.created_date,
|
||||
}
|
||||
|
||||
return data
|
||||
|
|
|
@ -7,7 +7,8 @@
|
|||
<img class="pop-hat profile-pic-75-hat hat" loading="lazy">
|
||||
</div>
|
||||
<div class="px-3 text-truncate">
|
||||
<h5 class="pop-username text-truncate text-black"></h5>
|
||||
<h5 class="pop-username text-truncate text-black mb-1"></h5>
|
||||
<span class="text-black">Joined <span class="pop-created-date"></span></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue