mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-28 01:23:08 +02:00
Show image info in tooltip
This commit is contained in:
parent
c2663529c1
commit
b8a77fbada
1 changed files with 6 additions and 1 deletions
|
@ -26,7 +26,12 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="images" v-if="images.length > 0">
|
<div class="images" v-if="images.length > 0">
|
||||||
<router-link v-for="image in images" :style="`background-image: url(${image.thumbnailUrl})`" :key="`${image.id}:${image._note.id}`" :to="image._note | notePage"></router-link>
|
<router-link v-for="image in images"
|
||||||
|
:style="`background-image: url(${image.thumbnailUrl})`"
|
||||||
|
:key="`${image.id}:${image._note.id}`"
|
||||||
|
:to="image._note | notePage"
|
||||||
|
:title="`${image.name}\n${(new Date(image.createdAt)).toLocaleString()}`"
|
||||||
|
></router-link>
|
||||||
</div>
|
</div>
|
||||||
<div class="tl">
|
<div class="tl">
|
||||||
<x-notes ref="timeline" :more="existMore ? fetchMoreNotes : null"/>
|
<x-notes ref="timeline" :more="existMore ? fetchMoreNotes : null"/>
|
||||||
|
|
Loading…
Reference in a new issue