This commit is contained in:
parent
7bbd151a98
commit
8cbce7744d
2 changed files with 3 additions and 2 deletions
|
@ -46,7 +46,7 @@
|
||||||
<a class="name" href="https://monrepos.casa/profile/death.au">Gordon Pedersen</a>
|
<a class="name" href="https://monrepos.casa/profile/death.au">Gordon Pedersen</a>
|
||||||
</aside>
|
</aside>
|
||||||
<aside class="post-info">
|
<aside class="post-info">
|
||||||
<a class="source" href="https://monrepos.casa/display/0e03068e-1866-3f18-738d-497554542391">
|
<a class="permalink" href="https://monrepos.casa/display/0e03068e-1866-3f18-738d-497554542391">
|
||||||
<i class="fa-solid fa-clock"></i>
|
<i class="fa-solid fa-clock"></i>
|
||||||
<time class="dt-published" datetime="2024-05-11T07:04:19.000Z">11 days ago</time>
|
<time class="dt-published" datetime="2024-05-11T07:04:19.000Z">11 days ago</time>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -128,12 +128,13 @@ function renderReplies(status, replies, replyContainer, template) {
|
||||||
article.querySelector('.avatar').src = reply.account.avatar
|
article.querySelector('.avatar').src = reply.account.avatar
|
||||||
article.querySelector('a.name').href = reply.account.url
|
article.querySelector('a.name').href = reply.account.url
|
||||||
article.querySelector('.name').innerText = reply.account.display_name
|
article.querySelector('.name').innerText = reply.account.display_name
|
||||||
article.querySelector('a.source').href = reply.url
|
article.querySelector('a.permalink').href = reply.url
|
||||||
article.querySelector('time.dt-published').datetime = reply.created_at
|
article.querySelector('time.dt-published').datetime = reply.created_at
|
||||||
article.querySelector('time.dt-published').innerText = luxon.DateTime.fromISO(reply.created_at).toRelative()
|
article.querySelector('time.dt-published').innerText = luxon.DateTime.fromISO(reply.created_at).toRelative()
|
||||||
|
|
||||||
article.querySelector('.reply-content').innerHTML = reply.content
|
article.querySelector('.reply-content').innerHTML = reply.content
|
||||||
|
|
||||||
|
article.querySelector('a.source').href = reply.url
|
||||||
article.querySelector('.application').innerText = reply.application.name
|
article.querySelector('.application').innerText = reply.application.name
|
||||||
article.querySelector('.replies-count').innerText = reply.replies_count
|
article.querySelector('.replies-count').innerText = reply.replies_count
|
||||||
article.querySelector('.favourites-count').innerText = reply.favourites_count
|
article.querySelector('.favourites-count').innerText = reply.favourites_count
|
||||||
|
|
Loading…
Reference in a new issue