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