add post visibility indicators to replies and boosts

This commit is contained in:
ari melody 2024-06-21 07:36:45 +01:00
parent 6c68fb3aa2
commit 2832ed9770
Signed by: ari
GPG key ID: CF99829C92678188
2 changed files with 6 additions and 0 deletions

View file

@ -14,6 +14,9 @@
</span>
<span class="post-context-time">
<time title="{time_string}">{short_time(post.created_at)}</time>
{#if post.visibility !== "public"}
<span class="post-visibility">({post.visibility})</span>
{/if}
</span>
</div>

View file

@ -30,6 +30,9 @@
<div class="post-info">
<a href={post.url} target="_blank" class="created-at">
<time title={time_string}>{short_time(post.created_at)}</time>
{#if post.visibility !== "public"}
<span class="post-visibility">({post.visibility})</span>
{/if}
</a>
</div>
</header>