forked from Mirrors/elk
feat: add link to the status from the time link (#97)
This commit is contained in:
parent
c2af403e6a
commit
055bcf0e96
1 changed files with 5 additions and 3 deletions
|
@ -84,9 +84,11 @@ const timeago = useTimeAgo(() => status.createdAt, {
|
||||||
<div flex-auto />
|
<div flex-auto />
|
||||||
<div text-sm op50 flex="~ row nowrap" hover:underline>
|
<div text-sm op50 flex="~ row nowrap" hover:underline>
|
||||||
<CommonTooltip :content="createdAt">
|
<CommonTooltip :content="createdAt">
|
||||||
<time :title="status.createdAt" :datetime="status.createdAt">
|
<a :title="status.createdAt" :href="getStatusPath(status)" @click.prevent="go">
|
||||||
{{ timeago }}
|
<time text-sm op50 hover:underline :datetime="status.createdAt">
|
||||||
</time>
|
{{ timeago }}
|
||||||
|
</time>
|
||||||
|
</a>
|
||||||
</CommonTooltip>
|
</CommonTooltip>
|
||||||
<StatusEditIndicator v-if="status.editedAt" :edited-at="status.editedAt" />
|
<StatusEditIndicator v-if="status.editedAt" :edited-at="status.editedAt" />
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue