add post visibility indicators to replies and boosts
This commit is contained in:
		
							parent
							
								
									6c68fb3aa2
								
							
						
					
					
						commit
						2832ed9770
					
				
					 2 changed files with 6 additions and 0 deletions
				
			
		|  | @ -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> | ||||
| 
 | ||||
|  |  | |||
|  | @ -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> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue