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>
|
</StatusActionButton>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div flex-none>
|
<div :class="status.localOnly ? 'flex-1' : 'flex-none'">
|
||||||
<StatusActionButton
|
<StatusActionButton
|
||||||
:content="$t('action.bookmark')"
|
:content="$t('action.bookmark')"
|
||||||
color="text-yellow" hover="text-yellow" group-hover="bg-yellow/10"
|
color="text-yellow" hover="text-yellow" group-hover="bg-yellow/10"
|
||||||
|
@ -117,5 +117,19 @@ const reply = () => {
|
||||||
@click="toggleBookmark()"
|
@click="toggleBookmark()"
|
||||||
/>
|
/>
|
||||||
</div>
|
</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>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.local-only {
|
||||||
|
margin: 0.5em;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
|
@ -53,6 +53,7 @@
|
||||||
"favourite": "Favorite",
|
"favourite": "Favorite",
|
||||||
"favourite_count": "{0}",
|
"favourite_count": "{0}",
|
||||||
"favourited": "Favorited",
|
"favourited": "Favorited",
|
||||||
|
"local_only": "Local only",
|
||||||
"more": "More",
|
"more": "More",
|
||||||
"next": "Next",
|
"next": "Next",
|
||||||
"prev": "Prev",
|
"prev": "Prev",
|
||||||
|
|
Loading…
Reference in a new issue