mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-21 17:05:22 +03:00
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 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 a new issue