add post visibility indicators to replies and boosts
This commit is contained in:
parent
6c68fb3aa2
commit
2832ed9770
|
@ -14,6 +14,9 @@
|
||||||
</span>
|
</span>
|
||||||
<span class="post-context-time">
|
<span class="post-context-time">
|
||||||
<time title="{time_string}">{short_time(post.created_at)}</time>
|
<time title="{time_string}">{short_time(post.created_at)}</time>
|
||||||
|
{#if post.visibility !== "public"}
|
||||||
|
<span class="post-visibility">({post.visibility})</span>
|
||||||
|
{/if}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -30,6 +30,9 @@
|
||||||
<div class="post-info">
|
<div class="post-info">
|
||||||
<a href={post.url} target="_blank" class="created-at">
|
<a href={post.url} target="_blank" class="created-at">
|
||||||
<time title={time_string}>{short_time(post.created_at)}</time>
|
<time title={time_string}>{short_time(post.created_at)}</time>
|
||||||
|
{#if post.visibility !== "public"}
|
||||||
|
<span class="post-visibility">({post.visibility})</span>
|
||||||
|
{/if}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
Loading…
Reference in a new issue