mirror of
https://github.com/elk-zone/elk
synced 2024-11-27 14:28:10 +09:00
feat: add link to the status from the time link (#97)
This commit is contained in:
parent
c2af403e6a
commit
055bcf0e96
@ -84,9 +84,11 @@ const timeago = useTimeAgo(() => status.createdAt, {
|
||||
<div flex-auto />
|
||||
<div text-sm op50 flex="~ row nowrap" hover:underline>
|
||||
<CommonTooltip :content="createdAt">
|
||||
<time :title="status.createdAt" :datetime="status.createdAt">
|
||||
{{ timeago }}
|
||||
</time>
|
||||
<a :title="status.createdAt" :href="getStatusPath(status)" @click.prevent="go">
|
||||
<time text-sm op50 hover:underline :datetime="status.createdAt">
|
||||
{{ timeago }}
|
||||
</time>
|
||||
</a>
|
||||
</CommonTooltip>
|
||||
<StatusEditIndicator v-if="status.editedAt" :edited-at="status.editedAt" />
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user