forked from Mirrors/elk
Compare commits
2 commits
main
...
dariusk-ho
Author | SHA1 | Date | |
---|---|---|---|
|
0aafcd8357 | ||
|
23ba49f33e |
2 changed files with 16 additions and 1 deletions
|
@ -105,7 +105,7 @@ const reply = () => {
|
|||
</StatusActionButton>
|
||||
</div>
|
||||
|
||||
<div flex-none>
|
||||
<div :class="status.localOnly ? 'flex-1' : 'flex-none'">
|
||||
<StatusActionButton
|
||||
:content="$t('action.bookmark')"
|
||||
color="text-yellow" hover="text-yellow" group-hover="bg-yellow/10"
|
||||
|
@ -117,5 +117,19 @@ const reply = () => {
|
|||
@click="toggleBookmark()"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<CommonTooltip v-if="status.localOnly" :content="$t('action.local_only')" placement="bottom">
|
||||
<div
|
||||
class="i-ri:link-unlink-m local-only"
|
||||
flex-none
|
||||
text-secondary
|
||||
/>
|
||||
</CommonTooltip>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style>
|
||||
.local-only {
|
||||
margin: 0.5em;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -53,6 +53,7 @@
|
|||
"favourite": "Favorite",
|
||||
"favourite_count": "{0}",
|
||||
"favourited": "Favorited",
|
||||
"local_only": "Local only",
|
||||
"more": "More",
|
||||
"next": "Next",
|
||||
"prev": "Prev",
|
||||
|
|
Loading…
Reference in a new issue