| 
									
										
										
										
											2018-06-14 12:52:00 -07:00
										 |  |  | {#if mentions.length} | 
					
						
							|  |  |  |   <div class="status-mentions"> | 
					
						
							|  |  |  |     <p> | 
					
						
							|  |  |  |       {#each mentions as mention, i} | 
					
						
							|  |  |  |         {#if i > 0} | 
					
						
							| 
									
										
										
										
											2018-06-23 09:51:47 -07:00
										 |  |  |           <!-- empty space --> | 
					
						
							| 
									
										
										
										
											2018-06-14 12:52:00 -07:00
										 |  |  |             | 
					
						
							| 
									
										
										
										
											2018-06-23 09:51:47 -07:00
										 |  |  |           <!-- empty space --> | 
					
						
							| 
									
										
										
										
											2018-06-14 12:52:00 -07:00
										 |  |  |         {/if} | 
					
						
							|  |  |  |         <a href="/accounts/{mention.id}" | 
					
						
							| 
									
										
										
										
											2018-06-15 09:20:55 -07:00
										 |  |  |            title="@{mention.acct}" | 
					
						
							| 
									
										
										
										
											2018-06-14 12:52:00 -07:00
										 |  |  |            focus-key="status-mention-link-{uuid}-{mention.id}"> | 
					
						
							| 
									
										
										
										
											2018-06-15 07:58:12 -07:00
										 |  |  |           @{mention.username} | 
					
						
							| 
									
										
										
										
											2018-06-14 12:52:00 -07:00
										 |  |  |         </a> | 
					
						
							|  |  |  |       {/each} | 
					
						
							|  |  |  |     </p> | 
					
						
							|  |  |  |   </div> | 
					
						
							|  |  |  | {/if} | 
					
						
							|  |  |  | <style> | 
					
						
							|  |  |  |   .status-mentions { | 
					
						
							|  |  |  |     grid-area: mentions; | 
					
						
							|  |  |  |     margin: 10px 0 10px 5px; | 
					
						
							|  |  |  |     font-size: 0.9em; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | </style> | 
					
						
							|  |  |  | <script> | 
					
						
							|  |  |  |   export default { | 
					
						
							|  |  |  |     computed: { | 
					
						
							|  |  |  |       mentions: ({ originalStatus }) => originalStatus.mentions || [] | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | </script> |